Skip to content
Discussion options

You must be logged in to vote

Hi! I think the content argument is what you are searching for.

You can do something like this

httpx.post(url, content="my plain text", header = {"Content-Type":"text/plain"})

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by szw0407
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants