-
Notifications
You must be signed in to change notification settings - Fork 32
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
Parameters is empty #4
Comments
I was able to reproduce using the https://github.com/ruby-grape/grape-on-rack example using Grape (v0.14.0). Not sure what's going on yet. I swear it used to work ... |
What version of Grape and Ruby are you using? |
Grape 0.15.0 Not work using Grape 0.14.0 |
- Call the formatter middleware manaully to parse env['rack.input'] and set the grape request body early - Overload the formatter's #before method so we don't parse the input twice - Wouldn't be an issue if Grape::Endpoint would #use custom middleware after using formatter
You wanna try the latest master and see if it's fixed for you? If it is, I'll cut a new gem version with the changes. |
works in this commit 41eeaaa, but master is not work
My project stack: Rails 5.0.0.beta3 + Grape 0.15.0 Thanks! |
Oh your using this with Rails?! We should be getting the params from |
works! |
Parameters is an empty hash when post with json, but the
params
is correctThe text was updated successfully, but these errors were encountered: