See which body is used to call my REST process?

I’m currently debugging a API Webhook which posts data towards my Novulo application. At the moment the body has the following structure:

operationName: {
variables: {
  name: { }
  aantalMedewerkers: { }
  }
}

I want to debug if Novulo can read the operationName as part of the body, I want to debug how the body comes in in my Novulo application and how it processes this.

an example in my situation is that “aantalMedewerkers”, comes in as amount_employees and I need to know if the webhook edits this request or my Headless CMS edits this.

Jesse

It appears to be visible in the Trace (how to use trace), when enabling ‘RestfulWebservice’.
Although, I’m still not quite sure if this the right body.

Hi Jesse !
Indeed, in order to debug the RESTful webservice requests, first and foremost you need to enable the RestfulWebservice trace switch, after activating tracing.

Then in the trace you will see lines under category “RestfulWebservice”. During the processing of the request you can see all kinds of information related to the handling of the request. In your case, this is the relevant line. It display the body provided with the request as a raw string - just as it has been sent and received by the Restful webservice handler:

For reference, this is my request body in postman:
image

This is the first and only point you can see the raw body string. The next time this information appears is shown below. At this point you will further see the body parameters serialized to Novulo parameters needed by the process that is defined in the architect:

Greetings,
Miroslav