Open themotu opened 5 years ago
Same behavior. Noted errors in browser JavaScript Console:
Failed to load resource: the server responded with a status of 422 (Unprocessable Entity).
{"meta":{"url":"http://api:4001/apis/acff62fe-a8bf-4b63-8d4f-fed18c7b14cc/plugins/proxy","type":"object","request_id":"2lgfv11oco18dd2d080002d1","code":404},"error":{"type":"not_found"}}
API Server is responding on port 4001.
$ curl -iLs http://localhost:4001/apis| grep HTTP
HTTP/1.1 200 OK
I think our web interface is slightly behind API functionality and need to be updated, but I can confirm that annonktl
works just fine. (API request structure was changed in latest release.)
Other option is to use older Annon version in your docker-compose, before request format is changed.
Steps to reproduce:
docker-compose up
add api add plugin - proxy
result: proxy add doesn't work