Closed
Description
This is likely the same issue from this google groups thread. I created two small projects to demonstrate the issue:
Both projects are using grape
at 948696f on master
with identical gems whenever possible. -rails3 is at v3.2.13, and -rails4 is at v4.0.0.rc1.
In both 3 and 4, jQuery requests are handled correctly, but when angular sends POST or PUT requests, the request is received by grape without any params (unless you hard-code it as part of the url), as evidenced by results fields. It is possible that the issue is angularjs - but given that the requests are nearly identical between what angularjs is sending between these two projects, it seems more likely that something in grape gem + rails 4 interaction is the cause of this bug.
Metadata
Metadata
Assignees
Labels
No labels