Client --à API Gateway --à Back end
Send the following request from the curl -v -k -X POST <HostName:Port/ServiceName> -H 'Content-Type: application/json' .........
Request from Gateway to backend:
POST /xxxx HTTP/1.1
accept: application/json
Content-Type: application/json
Content-Length: nn
Host: <HostName>
Connection: Keep-Alive
curl -v -k -X DELETE <HostName:Port/ServiceName> -H 'Content-Type: application/json'
Request from Gateway to backend
DELETE /xxxx HTTP/1.1
accept: application/json
Host: HostName
Connection: Keep-Alive
In case of POST method, content-type is included in the request header to the backend.
In case of DELETE method, content-type is not included in the request header to the backend.
Release : All
Component : API GATEWAY
It is based on the specifications
The Route via HTTP(s) Assertion complies to RFC specification (https://tools.ietf.org/html/rfc7231#section-4.3) and DELETE method do not require a content-type as mandatory