You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
curl -Lvsk --cookie $mc -XPOST https://localhost:6443/api/1.2/cdns -d @cdn.json
< HTTP/1.1 200 OK
{"alerts":[{"text":"'name' cannot be blank","level":"error"}]}
The same happens for profiles, and I presume other endpoints as well.
shared_handlers.go:320 looks like it takes the validate errors and returns http.StatusBadRequest, which makes me a little confused. This bug causes the profiles api test to fail when it posts a "bad profile" (one without required fields).
curl -Lvsk --cookie $mc -XPOST https://localhost:6443/api/1.2/cdns -d @cdn.json
< HTTP/1.1 200 OK
{"alerts":[{"text":"'name' cannot be blank","level":"error"}]}
The same happens for profiles, and I presume other endpoints as well.
shared_handlers.go:320looks like it takes the validate errors and returnshttp.StatusBadRequest, which makes me a little confused. This bug causes the profiles api test to fail when it posts a "bad profile" (one without required fields).