Discussions
Send multipart form data is form data rather than body data
18 days ago by James Smith
Hello,
Does anyone know how to setup an API Reference using the manual editor so that multipart/form-data generates a CURL statement similar to the following when a user is trying it out from the docs:
curl -v --request POST
--url https://api.example.com/1.0/documents
--header 'accept: multipart/form-data'
--header "Authorization:$TOKEN"
--header 'content-type: multipart/form-data' -F some_id=50dc5d68-fd81-457b-b3e4-ffe87969ce6a -F another_id=50dc5d68-fd81-457b-b3e4-ffe87969ce6a -F document_type=PHOTO -F [email protected]
Thanks,
James
Start typing markdown or type / to insert a block