-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Currently the documentation provides an example on for GET request. Can an example for POST request that demonstrates sending a payload and setting headers be add to the documentation?
Would it be something like this
from requests_threads import AsyncSession
session = AsyncSession(n=100)
async def _main():
url = u"https://api.github.com/repos/psf/requests/issues/482/comments"
body = json.dumps({u"body": u"Sounds great! I'll get right on it!"})
response = await session.post(url=url, data=body)
Thanks
sh4msi
Metadata
Metadata
Assignees
Labels
No labels