$ curl -X POST \ -–user admin:password \ -H "Content-Type: application/json" \ -d '{ "name": "website-1", "error_files": [ { "code": 400, "name": "/etc/haproxy/errorfiles/site1/400.http" }, { "code": 404, "name": "/etc/haproxy/errorfiles/site1/404.http" } ] }' \ "http://127.0.0.1:5555/v2/services/haproxy/configuration/http_errors_sections?version=3"