Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger UI doesn't send POST requests when clicking Try It Out button #44

Closed
hamx0r opened this issue Aug 28, 2014 · 1 comment
Closed

Comments

@hamx0r
Copy link

hamx0r commented Aug 28, 2014

The "Try it out!" button sends GET requests properly, but not POST requests. Per wireshark sniffs, no data is set, meaning, it's not a matter of erroneous data. This seems to be the case where paramType is query, body or header. Other values for paramType not tested. It seems like the form submission code is defined in swagger-ui.js in the OperationView.prototype.submitOperation function, but it simply calls model["do"] which doesn't seem to be defined.

@hamx0r hamx0r closed this as completed Aug 29, 2014
@hamx0r
Copy link
Author

hamx0r commented Aug 29, 2014

Issue closed because "problem" was due to incorrect merging of merge_parameter_list. Added in fix to pull request #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant