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

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

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