-
Notifications
You must be signed in to change notification settings - Fork 9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
POST formData not working on http://editor.swagger.io/ #3629
Labels
Comments
What do you have the |
@webron, it is set as below.
|
From curl's man page:
Based on the media type you provided, it seems the curl command is correct. |
Closing due to (a) inactivity, (b) apparent decision for non-action on this. Thanks for the report! |
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
I am trying http://editor.swagger.io/ to edit API doc, "formData" can be used to indicate the input parameter as form data and I assume such parameter can be parsed on server side to get its name and value, but actually server hangs and timeouts.
Example:
curl -X POST "http://127.0.0.1:3002/api/v1/Buckets/bucket-test/upload" -H "accept: application/json" -H "content-type: application/x-www-form-urlencoded" -d "name=testFileName"
curl -X POST "http://127.0.0.1:3002/api/v1/Buckets/bucket-test/upload" -H "accept: application/json" -H "content-type: application/x-www-form-urlencoded" -F "name=testFileName"
This issue seems like #838 which was resolved in 2015, but is the fix missed on this online tool? If not same one, could you please help on this? Thanks!
The text was updated successfully, but these errors were encountered: