Skip to content

Post methods of api are not working #17

@Utkarsh13-ray

Description

@Utkarsh13-ray

When a user calls the API at /shifts/{id}/book or shifts/{id}/cancel the API doesn't respond and keeps loading.

How to regenerate this error:

Run the server.
fetch all the available shifts.
Use Postman/thunderclient to book a shift by an ID of the shift.
the request will not respond and will be kept loading.
Platform:
OS: Windows 10;
Browser: Chrome [latest till today].
tool: Postman and Axios.

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