Make a httpx GET request with data body #2912
Unanswered
junoriosity
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I do a curl request for GET endpoint of a REST API, I would go it like this
Directly translated into
requests, I would getNow for my test environment I am going to use
httpx'sAsyncClient, but I cannot find a way to use the data part, i.e.,[{"item_type": "user", "skip": 0}], in a get request.It would be terrific, if you know how to address this.
Beta Was this translation helpful? Give feedback.
All reactions