Skip to content

Commit 8623605

Browse files
authored
Updated post request example in the README file
1 parent 00eebf1 commit 8623605

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ authHeader = OAuth().get_authorization_header(uri, 'GET', None, '<insert consume
7979
#### Use of authHeader with requests module (POST and GET example)
8080
```python
8181
headerdict = {'Authorization' : authHeader}
82-
requests.post(uri,headers=headerdict)
83-
requests.get(uri,headers=headerdict)
82+
requests.post(uri, headers=headerdict, data=payload)
83+
requests.get(uri, headers=headerdict)
8484
```
8585

8686
### Signing HTTP Client Request Objects <a name="signing-http-client-request-objects"></a>

0 commit comments

Comments
 (0)