-
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 #838
Comments
Confirmed. Looks like a regression. |
Subscribing for I have also been testing the same. |
Ran into this as well and wondered if the problem is here:
|
@mattoshry - doesn't seem like it, considering the section following it - https://github.com/swagger-api/swagger-ui/blob/master/lib/swagger-client.js#L864-L877. |
Ah, now I see what you mean. Looking back, the method was split into two, so the formParams indeed doesn't get populated. |
This patch f9af6110334681cf570b2c03127d46bb4b6f6984 fixed my issue. Now swagger-ui correctly sends formData parameters with POST request in "Try it out" function. |
this was fixed in develop_2.0 |
Is this now in the current version Version 2.10.1, I still seem to be experiencing this issue as is stated. |
@tsamples - you may be confusing this project with swagger-editor. |
Thanks, You are correct it is a documented issue on the swagger editor swagger-api/swagger-editor#599 On Wed, Jun 15, 2016 at 9:05 PM, Ron notifications@github.com wrote:
|
I'm trying to send a simple string as a POST parameter in swagger 2.0. However, I cannot seem to get it to work.
When I view a log of the $_POST details in my PHP server, the array is empty. It should contain the "_method" parameter.
Please note that this was found as a bug in the swagger-editor here: swagger-api/swagger-editor#299
I have found the same problem in the swagger-ui. Perhaps I'm missing something?
The text was updated successfully, but these errors were encountered: