-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
405 Methods not allowed for the app inference.py #22
Comments
Hi @laifuchicago, the API endpoint only supports a HTTP POST request, hence you get an error when you try to use GET. If you want to try out the API from command line, you can execute |
masci
pushed a commit
that referenced
this issue
Nov 27, 2023
feat: enable `Any` in receiving sockets
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To author:
We have checked the inference.py , but there is "405 Methods not allowed" when we use GET , so we can only get the answer by using curl --request POST --url 'http:https://127.0.0.1:8000/finders/1/ask' --data '{"question": "My question"}'
Do you have any idea about that? Thank you.
Jonathan
The text was updated successfully, but these errors were encountered: