Highlighted
One Star

Call and Execute curl commands to upload CSV file to a Web Service

Hi, 
I am unsure of which component to use in this scenario - tREST, tRESTClient, tFileFetch or some other component.
Where would the curl command be placed? This is the format of the curl command I have.
curl -v -X POST --data-binary '@/PATH-TO-FILE' HTTP-CALL-TO-WEB-SERVICE
Any guidance would be appreciated.
Thanks very much
1 REPLY
Ten Stars

Re: Call and Execute curl commands to upload CSV file to a Web Service

If you want to call curl directly, you can do so with a tSystem component.  Otherwise, we'd need more details about what you're trying to do.  You may be able to upload a file using tFileFetch.  Take a look at the advanced settings.