7 ms·
Aha, got it. Thanks for the explanation. So, the request content/body can have "non-sql-like" queries? can it be GraphQL? or even plain English? - of course, a
by ta-run 3y ago
Aha, got it. Thanks for the explanation.
So, the request content/body can have "non-sql-like" queries? can it be GraphQL? or even plain English? - of course, assuming that the server knows how to resolve the query.
- kortex 3y agoYep. This is valid QUERY /graphql Content-Type: text/graphql {too lazy to write valid gql} so is this QUERY /elasticsearch Content-Type: application/json {"name": "alice"} Even this QUERY /my-ai-image-gen Content-Type: text/plain Draw me a picture of a cat It's entirely up to the software to decide how to handle the request.
- ta-run 3y agoGreat, thank you!