Api Access/Authenticate With Cookie Header

Hi,
Trying to access api get/post after successful initial authentication. Further get/post requires “provide the session cookie” in the “request API”

  1. The initial “Http: Make A Basic Auth rest” - provides " Cookie: ksi=abcdefghijklmnopqrstuvwxyz123 " - which is required for subsequent authentication

  2. This must be passed in the header but not sure how to do this in Make since this is not a parameter or field?

  3. Api info: https://marketplacetherange.zendesk.com/hc/en-gb/articles/360018523338-API-Stock-Availability

Many thanks for any pointers.

Hey @a_lincoln , Welcome to the Make Community :wave:

You can do this by toggling OFF the ‘map’ button and mapping in the cookie variable:

I hope that helps you.

3 Likes

Many thanks Olly, spot on.
Cheers,
Antony

3 Likes