-
-
Notifications
You must be signed in to change notification settings - Fork 752
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
Undefined Create method on REST service does not generate 405 #99
Comments
I bet this is happening because of Uberproto.create. So technically the converted service object still has a |
* Updating client use example * Remove client use since it has been moved to a different module
* Updating client use example * Remove client use since it has been moved to a different module
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue with a link to this issue for related bugs. |
Testing the behavior of doing a POST to an endpoint without a create method, it hangs (times out in the mocha test) instead of responding with a 405.
Reproduce by doing a post instead of a delete in the 'throws a 405 for undefined service methods' section of the rest test file.
Inspecting the 'todo' service on the app at that point indicates that there is a create method, even though only get and find are configured.
Am I missing something?
The text was updated successfully, but these errors were encountered: