Hi All,
I have a question on how to debug Expose REST API. I'm using Postman application to debug for my Expose REST API. However, I do not understand why I keep getting Error code 400 : The request body is missing.
Greatly appreciate anyone could help to look up my issue.
*Note: the original base url and API name contains sensitive information, so I modified the base url and documentation name to prevent disclose any confidential information.
Postman:
Documentation of my Expose REST API:
Thanks in advance.
Cheers,Gwen.
Hi you added a Body query parameter which sends the value as an URL parameter. You have to pass the body JSON in the Body tab:
Remove the Body Query Parameter
Go to the Body tab
Switch to raw and select JSON from the dropdown
Check the example Value of your documentation what to put into the body.
Hi Stefen,
Very much appreciate your prompt reply in this thread!
I'm able to call the API successfully and return correct message in Postman now as per your suggestion.