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