Open ChanChar opened 4 months ago
I don't think we can fix only our controller, middlewares are global to the application, right?
Maybe we could just change all the PUTs to be POSTs. We don't really pass in data, I don't think it even fits the semantics of HTTP.
middlewares are global to the application
true, i was thinking if there's a way to check for existing middleware within the app, the library could fast-fail.
Maybe we could just change all the PUTs to be POSTs
That works too :)
Would you be interested in contributing these changes?
This issue has been marked as stale because it has not been commented on in two months. Please reply in order to keep the issue open. Otherwise, it will close in 14 days. Thank you for contributing!
Similar to https://github.com/Shopify/maintenance_tasks/issues/926, Rails API mode doesn't include the middleware that converts POST to PUT calls leading to
Routing Error
s.Possible solutions:
References https://github.com/Shopify/sidekick-server/issues/728