8000 Undefined Create method on REST service does not generate 405 · Issue #99 · feathersjs/feathers · GitHub
[go: up one dir, main page]

Skip to content

Undefined Create method on REST service does not generate 405 #99

@kkogan

Description

@kkogan

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0