bc886f2f65
This patch adds the L7 policy section to the v2 API reference. This patch also updates the child object create error code lists to include 409 as a possible error code. Change-Id: I6cb469c65832af3440c18dc71c7786a8fbf9bd2b Partial-Bug: #1558385
2 lines
378 B
Plaintext
2 lines
378 B
Plaintext
curl -X POST -H "Content-Type: application/json" -H "X-Auth-Token: <token>" -d '{"l7policy":{"description":"Redirect requests to example.com","admin_state_up":true,"listener_id":"023f2e34-7806-443b-bfae-16c324569a3d","redirect_url":"http://www.example.com","name":"redirect-example.com","action":"REDIRECT_TO_URL","position":1}}' http://198.51.100.10:9876/v2.0/lbaas/l7policies
|