cancel
Showing results for 
Search instead for 
Did you mean: 

How to execute curl command using snaps

Sowmya_Rayavara
New Contributor III

Hi,

Is there any Snaps available to execute the ‘cURL’ commands in Snaplogic? if Yes, Can you please let us know the process.

Thanks in Advance.

10 REPLIES 10

tlikarish
Employee
Employee

Have you taken a look at the Rest Snap Pack?

Rudradip
New Contributor II

I am also facing the same issue . Is there any way out to call the curl command from the REST snaps ? I checked the documentation but could not find anything regarding that .

robin
Former Employee

Can you provide an example of the type of curl command(s) you wish to run?

smudassir
Employee
Employee

If you want to execute CURL command, you can use Script snap. You have choice to choose between JavaScript/Python/Ruby. Using Python, you can invoke CURL command via SubProcess module. subprocess — Subprocess management — Python 3.10.6 documentation