mirror of
https://github.com/rodneyosodo/uber4freefood.git
synced 2026-06-23 04:10:18 +00:00
Getting response as text
This commit is contained in:
@@ -6,7 +6,7 @@ values = """
|
||||
"data": {
|
||||
"api_key": "aOYE0BD3rz03QKPXUx4R",
|
||||
"api_username": "qualis",
|
||||
"order_no": "AA2395374"
|
||||
"order_no": "AN82TT944-33W"
|
||||
},
|
||||
"request_token_id": "request_token_id"
|
||||
}
|
||||
@@ -20,5 +20,5 @@ url = 'https://apitest.sendyit.com/v1/#cancel'
|
||||
|
||||
request = requests.post(url, data=values, headers=headers)
|
||||
|
||||
response_body = request.json
|
||||
response_body = request.text
|
||||
print(response_body)
|
||||
Reference in New Issue
Block a user