Rest API node to download files from the retailers

Hello all,

one of our retailers have provided api calls to get the retail data on a weekly basis. Rest API call will simply download the CSV from the site. i would like to automate the process in KNIME. I have used the getResource node but beyond i can't proceed to download the csv. Can you help pl?

Thanks,

Rajesh

Hi Rajesh,

to do REST calls from within KNIME you can use the REST Web Services nodes e.g. GET Request, or POST Request nodes. I assume the location of that CSV file will be delivered as part of a GET or POST result?

If that CSV can be accessed via http via a specific URL (that you extract from the result of a previous REST call?) you can use the HTTP Connection and Download nodes to download the file.

Cheers, Kilian

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.