-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
How to set GET method? #6073
Comments
Hey @xuhaoguang , You do not need to set it, Jina detects that there is a generator being returned and because of that exposes a GET endpoint when served via HTTP. |
ehh, But how can I use curl "localhost:12345/hc" to health_check method, but when I test, jina say I should send a json post data and Method Not Allowed |
how are u defining this hc endpoint? |
@xuhaoguang Did you find any workaround? |
@that-rahul-guy what are you trying to do? |
Hi @JoanFM |
Hey @xuhaoguang, which folder is that file in? |
@jina-ai/product This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days |
This is default POST method, But how can I set it's a GET method?
The text was updated successfully, but these errors were encountered: