Skip to content

Bad PATCH request (without ID) does not return HTTP 400 #520

Closed
@maurei

Description

@maurei

There are currently several PATCH related tests (for example Can_Patch_CamelCasedModels) that are passing but shouldn't. When according to the specs, the id attribute must be included in the request body

The PATCH request MUST include a single resource object as primary data. The resource object MUST contain type and id members.

Therefore any PATCH request without ID should return a http 400.

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