mercredi 29 avril 2020

How to pass vouch coockie in request headers using python

In my case i want to pass access token cookie and vouch cookie in headers. While i am trying using postman i am passing access token cookie as a cookie in headers and vouch cookie as authorization token. It is working fine. In the same way i tried using python script , It's not working.

cookie='fhfeuii..34hnsn'
vouchcookie = 'hdjkfnv89'
headers = {'Authorization': vouchcookie, 'Cookie': cookie}

Aucun commentaire:

Enregistrer un commentaire