Skip to content

[Enhancement] Response status codes #184

@TGtarun

Description

@TGtarun

Actual Behaviour

Only two HTTP status codes 200, 400 are used for every API response.

Expected Behaviour
API response should have a different status code according to the execution of the request because each code help us identify the cause of the problem when a web page or other resource does not load properly.
For Eg -
200 for successful HTTP requests.
201 for the successful creation of a new resource.
400 for bad request.
401 for unauthorized request, etc.

Completed List of Status Codes can be found on https://en.wikipedia.org/wiki/List_of_HTTP_status_codes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions