I have a very simple example API that I am testing out with a Kong Cloud trial account. When I attempt to execute a POST request through the proxy, my API is receiving a GET request on the backend. I have verified that this does not occur when sending the POST directly to my backend API.
Here’s my service / route configuration:
{
"next": null,
"data": [
{
"host": "*****",
"created_at": 1574355278,
"connect_timeout": 60000,
"id": "*****",
"protocol": "http",
"name": "example-api-1",
"read_timeout": 60000,
"port": 80,
"path": null,
"updated_at": 1574355278,
"tags": null,
"client_certificate": null,
"retries": 5,
"write_timeout": 60000
}
]
}
{
"next": null,
"data": [
{
"id": "*****",
"tags": null,
"updated_at": 1574360319,
"destinations": null,
"headers": null,
"protocols": [
"http"
],
"created_at": 1574355278,
"snis": null,
"service": {
"id": "*****"
},
"name": null,
"strip_path": false,
"preserve_host": false,
"regex_priority": 0,
"paths": [
"/api/Employee"
],
"sources": null,
"methods": [
"GET",
"POST"
],
"https_redirect_status_code": 426,
"hosts": null
}
]
}
Does anyone know what may be causing the issue?