Where to find $headers and $cookie variables for PHP REST authentication?

Where to find $headers and $cookie variables for PHP REST authentication?

Mammouth
Tourist
15 0 2

 

Where can i get the $headers and $cookie variable used for the authentification from https://shopify.dev/api/admin-rest#client_libraries ?

Reply 1 (1)

ReturnPrime
Shopify Partner
488 67 111

Hello,

You can directly use CURL in order to access the $headers but I am not sure if the API has $cookies.

Regards,
Mritunjay
ReturnPrime