Skip to content

PUT method allows update without id in body, leading to unmanageable records #40

Description

@idavid80

There is a problem with the behavior of the PUT method. If you send a PUT request without including the identifier in the request body, the record is updated or created without an identifier. This results in records that cannot be updated or deleted afterwards, as they lack a valid identifier.

In addition, they can be created without other parameters, resulting in incomplete or corrupt records in the database.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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