Skip to content

Change response code to 400 instead of 401 unauthroized #4

@Seshpenguin

Description

@Seshpenguin

401 Unauthorized should be for when you are not allowed to access a resource. API endpoint should return 400 and the error code in body. Otherwise PHP will throw an error when accessing the endpoint.

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