how curl work in KNIME

Hi,

I have a curl that works when I run by Mac/ Terminal but not sure how to put this in KNIME node:

curl --location --request GET ‘http://websiteabcdefg-env-3.eba-h99gmigd.us-east-1.webrequest.com/api/v1/segments/top-asins?parent_segment_id=32&source_id=0&start_price=100&end_price=200&num_asins=7
–header ‘Authorization: token abcdefghijklmnopqretuvwxyz’

Can somebody please help

Hello @anguslou,

is GET Request node an option for you?

Br,
Ivan

1 Like

Hi Ivan, thanks for your reply.

I tried the flow but authorisation is not handled in the flow so I get an error

Hi,
normally the API should have a documentation on how to provide the token. Maybe you need to use Bearer in front of your token?

1 Like

Hi @anguslou , it looks like you asked the same question in another thread where I answered you there:

That’s the problem with asking the same question in different threads, they take different directions and it becomes a mess.

1 Like

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