Closed cly closed 1 month ago
Hi @cly
It doesn't support passing search query in POST right now. Can you elaborate on your use case (why must POST)?
This is now supported.
curl -v -X POST https://s.jina.ai \
-H 'Content-Type: application/json' \
-d '{"q": "how is the weather today?"}'
The docs (https://s.jina.ai/docs) don't seem explain where one can pass in the "search query" in a POST call.
I tried encoding it in the "url" parameter but it didn't work.
Furthermore, the openapi docs generated from the /docs page only has a /search with post interface. In the homepage, there is a GET to / that seems to also work. this is the typescript interface generated: