Skip to content
Discussion options

You must be logged in to vote

It really depends on what the endpoint accepts. There's not enough information here to answer you specifically. The body options accepts a FormData instance, which can often be used for this purpose.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sindresorhus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1893 on October 15, 2021 09:24.