Request body is not getting passed with POST method from dev portal

When trying to make post request from dev portal , The actual body passed in request is not send to edge. Instead the following content are received by edge proxy in request.

------WebKitFormBoundary5QSA8qODXBeQYSSB-- Content-Type: application/x-www-form-urlencoded; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-ID:

What can be the issue?

Solved Solved
1 2 862
1 ACCEPTED SOLUTION

Can you check javascript console in your browser from where you are making dev portal post request Check if there are any errors and check the network and see the request/response body .

View solution in original post

2 REPLIES 2

Can you check javascript console in your browser from where you are making dev portal post request Check if there are any errors and check the network and see the request/response body .

@rajeshmishra Thanks for the reply. On debug from javascript console, I found the error msg "Uncaught TypeError: Cannot read property '$ref' of undefined". So reason was I was missing schema for body parameter in swagger doc. After adding it able to make POST request successfully.