I'm setting up wso2 api manager. The issue is when i request a rest API from wso2 to backend, the request is always GET method irrespective of wso2's request method.
The wso2 server hits the backend as GET method even if my requested API is POST method.
sample request
curl -X POST \
https://wso2.oasys.co/v1/login \
-H 'Accept: */*' \
-H 'Authorization: Bearer 1e258be1-b3f8-304d-8e04-f3af78a400a7' \
-d '{
"username" : "username",
"password" : "password"
}'
sample response
{
"timestamp": 1556267728729,
"status": 405,
"error": "Method Not Allowed",
"message": "Request method 'GET' not supported",
"path": "/login"
}