Skip to content

405 Client Error: METHOD NOT ALLOWED when api endpoint redirects #61

@jonblack

Description

@jonblack

When an api request is made to xssp/api/create/pdb_id/hssp_hssp (without trailing slash) the endpoint redirects to xssp/api/create/pdb_id/hssp_hssp/ with trailing slash. This is correct behaviour except that the redirect changes the request from a POST to a GET, resulting in a 405 Client Error: METHOD NOT ALLOWED

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions