You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Retrieve a request id from the above call, e.g. test-c9c63e7b-7931-4a82-a336-40668bac2f00
Try to check the status http://localhost:8000/status/test-c9c63e7b-7931-4a82-a336-40668bac2f00 in your browser url simply using curl, without using a POST request.
Receive a {"detail":"Method Not Allowed"} error, instead of the status.
Expected behavior
The same behavior as the real API.
The text was updated successfully, but these errors were encountered:
Describe the bug
The status endpoint over the serverless fast api endpoint does not support HTTP GET requests.
As can be seen here: https://github.com/runpod/runpod-python/blob/df771026ebe8baf99a7e6bff319a1a01a63ce858/runpod/serverless/modules/rp_fastapi.py#L257C1-L265C10
Only POSTs are allowed. Given that the "real" API supports GET requests, and it is more suitable this should be fixed.
To Reproduce
Steps to reproduce the behavior:
/run/
endpoint.test-c9c63e7b-7931-4a82-a336-40668bac2f00
http://localhost:8000/status/test-c9c63e7b-7931-4a82-a336-40668bac2f00
in your browser url simply usingcurl
, without using a POST request.{"detail":"Method Not Allowed"}
error, instead of the status.Expected behavior
The same behavior as the real API.
The text was updated successfully, but these errors were encountered: