โ01-22-2021 12:50 PM
Hi, I need to call a REST GET method but it needs a payload e.g. {โpathโ: โxyzโ}. I canโt find anyway to call a GET endpoint and include a payload in Snaplogic, does anyone have a solution? Thanks
Solved! Go to Solution.
โ01-23-2021 10:14 AM
Try passing the path and its value as a query parameter. Their documentation suggests this should work:
โ01-23-2021 08:16 AM
Havenโt you looked with the Rest POST snap. Why do you must use the Rest Get with a payload? - not typical.
โ01-23-2021 09:10 AM
Please read this discussion:
Can you please be more specific about the REST API youโre calling? Is it from a 3rd party, or is it one you have control over? Is it exceedingly non-standard and non-REST-conforming for a GET request to require a payload.
โ01-23-2021 09:37 AM
Yes, I agree but I have not control over it. Itโs the List API here >>> Workspace API 2.0 | Databricks on AWS.
Iโve tried Post but the API isnโt listening for it, the only option is READ with a payload, which is trivial through code or tools such as Postman, but I canโt find a way through Snap. Any ideas welcome! Thanks.
โ01-23-2021 10:14 AM
Try passing the path and its value as a query parameter. Their documentation suggests this should work: