setting up request data with Rest module

1
Hi, does anyone know how I would go about setting up the .body in the request data for this API? I know that I have to make an input entity, but I don't know how to get my request data to be serialized in the proper format. here is the link to the API I am using. https://market.mashape.com/nviror/bmi-calculator
asked
1 answers
2

Hi,

These would be of help here:

You would need to create a JSON structure document, which allows you to paste the sample JSON.

Using the import mapping document, you can generate the required entities and association. Select the JSON structure document and use map automatically to make it work.

The Call REST action takes the mapping and will return the topmost object of your structure upon succesful completion of the call. You can then retrieve the other objects by association.

answered