Hello everyone. I’m running Tyk CE. I’m trying to add a API definition directly through the Gateway REST API.
I’m posting a JSON object that looks like this
{
“name”: “test”,
“use_keyless”: true,
“active”: true,
“custom_middleware_bundle”: “bundle.zip”,
“enable_coprocess_auth”: true,
“proxy”: {
“listen_path”: “/”,
“target_url”: “http://test.myhost.internal:80”
}
}
I get the following response
{
“action”: “added”,
“key”: “”,
“status”: “ok”
}
But when I then list all API defs it’s not there so it seems that it is never added for some reason.
I tried to post without the bundle and coprocess as well without success. Anyone know why it isn’t added?