Hi
I am trying to make a GET call using the download tool, and need to add a body to the call.
However using the "Take Querystring/Body from field" option under Payload adds the information as query string and not as body
Is there any way to change this behaviour?
Best regards
Michael
Solved! Go to Solution.
I always make body contents into json format, and convert it into Blob, and specify it as a field for body. It works in my case. Please try it out if it fits to your case.
Hi @gawa
Thanks for the reply. I have tried your suggestion by using the Blob Convert field, but then it will not allow me to use the field in the Download tool anymore.
Do you have an example where you have it working?
BR
Michael
In order to specifically advice, I need more detail like API documentation or something on the website you try to connect.
Can you disclose more information as much as possbile?
Basically the api is a query in a MongoDB, so the URL looks somethin like this
https://our-api.xxx.yyy/api/data?colletion=mac_data_qb
and the json body is the actual query to the database which looks something like this
{"query": {"Production Order Number": "1117617101"}, "sort_key": "Timestamp", "docs_limit": 1, "columns": {}}
Got this to work by setting the HTTP action to Custom and then using GET for the command