I'm not able to get the request header from this API: How to get the bearer token dynamically, seems that requests lib is returning only the response header, but I need the request header with the bearer.
url_site = 'https://www.rappi.com.br/lojas/900520986-makro-atacadista-nc/mercearia'
url_api = 'https://services.rappi.com.br/api/ms/web-proxy/dynamic-list/cpgs/'
with requests.session() as r:
print(r.get(url_api).headers)
Expected output: Get the bearer token and pass it for the headers
