authlib / authlib/demo-oauth-client
OAuth2Session Google API example note documentation
- Dominant language
- Python
- Stars
- 287
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Description
Please add or note in the documentation examples
how passing request body as json than data parameter ( .post(json=) instead of .post(data=) )
for a HTTP post call via OAuth2Session ( Session ' s request ) 's required for Google APIs .
Reference -
Calendar API example at
https://stackoverflow.com/questions/29714710/google-calendar-api-freebusy-jquery-post-gets-400-bad-request-error
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the OAuth2Session documentation examples in this demo repository and review the HTTP POST usage described by the issue. Document that Google API POST requests may require the request body through json= rather than data=, using the linked Calendar API reference; done when the examples clearly show this guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100