Closed ErKatz closed 7 years ago
Replacing --header
with -H
works
import requests
headers = {
'Accept': 'application/json',
'user-token': '75d7ce4350c7d6239347bf23d3a3e668',
}
requests.get('http://localhost:8080/api/retail/books/list', headers=headers)
Hi. Consider the following Curl Command:
It gets converted to:
the "user-token" is ignored. Instead it should be converted to: