How do I get body information?

You can do this using the Custom JavaScript interceptor. Go to API Design > Interceptors and follow the steps:

  1. In the Custom Interceptors section, access your Custom JavaScript or create a new one;

  2. In the editor, enter the script:

    const strRequestBody = $call.request.getBody().getString("UTF-8");
  3. Click on Save to keep the change.

See the gif below with these steps:

get body custom js
Thanks for your feedback!
EDIT

Share your suggestions with us!
Click here and then [+ Submit idea]