not parameter for httpBody

When doing a HTTP binding on any component, there is that field that allows to allocate a HTTP Body. I was wondering if it’s possible to do the same using system functions scripting.

Is the parameter String contentType - The MIME type used in the HTTP 'Content-type' header. [optional] the place to define the Body? If so, how it should look?

I think you’re looking for the putData parameter for the body. The contentType is a header that instructs on what the body contains, i.e. application/json.

1 Like

Oh, ops my bad. Got a bit confused. I was waiting to read BODY somewhere.