0

I do http request from Python (Linux) and receive 403 response code. But if I do the same request from Windows Chrome web-browser, the response is succesful (200). What should I do to get succesfull response from Python?

DcoartB
  • 101
  • 1
    403 is unauthorized.. So your chrome browser has some auth headers set already., You'll need to apply those to your python http client. https://stackoverflow.com/questions/19069701/python-requests-library-how-to-pass-authorization-header-with-single-token – Pogrindis Nov 23 '21 at 11:39
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Pasha Nov 28 '21 at 07:08

0 Answers0