How to fill in the parameters of HTTP request in workflow function node, can you give an example, or a screenshot???
Is it possible to pass multiple parameters through the body argument in the workflow function node? Are there any examples?
The body argument defines the payload the request will send over, so depending on what method you’re using you can or can not use it.
The body
can be whatever you want it to be, so in your example, you could send over a JSON encoded array that denotes the different values you wish to send.
Alternatively, you could use the form
argument to form-encode the request.
Here is an example I quickly clicked together (I used https://requestbin.com/ to capture my requests)
Thank you very much for the reply and help!
I also had the issue of the api unable to read what I passed through the body parameter, but it is fixed by entering the value “application/json” in headerContentType.
That one is usually quite important.
Might be a good idea for us to do some content type guessing or throw some errors in case such things are not provided.
I’ll upen up an internal discussion