AnsweredAssumed Answered

cURL basic question

Question asked by poliver88 on Jun 1, 2018
Latest reply on Jun 1, 2018 by wimdecorte

Hiya. I'm completely new to APIs. I'm using insert from URL script step and I'm a bit confused as what to put as a webadress.

 

API documentation I'm using specifies a request like

 

GET /shipping/sipment/987324/label/ HTTP 1.1
Host: api.interlinkexpress.com

Accept: text/vnd.citizen-clp

 

Do I insert the /shipping/sipment/987324/label/ as url? (tried no response)

or api.interlinkexpress.com/shipping/sipment/987324/label/ ?
If I do the second do I still need to use the header Host?

 

I tried both but dont seem to be getting any response. Sorry for quite a basic question.

Outcomes