09-17-2024 04:27 AM
Hi @koryknick, Is there any way we can obtain exact curl for the Rest API call we are making in snaplogic that can be directly used for running in postman so as to validate the rest api call params?
Solved! Go to Solution.
09-17-2024 05:05 AM
If you are using the HTTP Client snap for the call, you can enable Debug option in the snap and look at the response, which will contain a "debug" element with all the details of the call.
09-17-2024 05:05 AM
If you are using the HTTP Client snap for the call, you can enable Debug option in the snap and look at the response, which will contain a "debug" element with all the details of the call.
09-18-2024 12:57 AM
Hi @koryknick, Thanks for the prompt reply!
I was using REST POST snap but as suggested when I switched to HTTP Client, was able to see that.
Just one question here furthermore, while trying to choose the already existing REST OAuth 2.0 Account here in HTTP Client snap, to my wonder I could not find that list and had to recreate/duplicate the account here once more. Why is that so?
Best Regards,
Deepti
09-18-2024 05:06 AM
@Deepti - each snap pack has its own set of accounts. Since the REST POST is in the REST snap pack and HTTP Client is in the API Suite snap pack, the account are not compatible.
Hope this helps!
PS - Please remember to mark my previous reply as the solution to your question so this thread can be closed.
09-18-2024 05:54 AM
Thanks as always @koryknick 🙂