Closed cpursley closed 6 years ago
Hey @cpursley, I believe you faced this issue because our documentation is a little bit ahead of time. There is no upstream
object in plugin config. Try the following request:
PUT /apis/99718b6a-09a5-4acf-9156-014e1291bc68/plugins/proxy HTTP/1.1
Host: 192.168.99.100:4001
Content-Type: application/json
{
"plugin": {
"name": "proxy",
"is_enabled": true,
"settings": {
"scheme": "http",
"host": "localhost",
"port": 5000,
"path": "/"
"preserve_host": false,
"strip_api_path": false
}
}
}
I think we can keep this issue open until API is not changed.
Container v0.14.0 and master branch now is up to date with API doc 👍 .
@cpursley please tell if it still doesn't work for you :)
First of all, great project! Thank you for creating it.
I'm running the docker compose configuration and am unable to create plugins from either the Annon Dashboard or HTTP. Here's an example of a failing request/response:
Request:
Response:
And here's a screenshot from the Dashboard:
Perhaps there is an issue with my host format? But according to the API documentation, I believe I am submitting the request correctly.