A simple query with a direct response:
QUERY /contacts HTTP/1.1
Host: example.org
Content-Type: example/query
Accept: text/csv
select surname, givenname, email limit 10
Not quite full SQL (no JOIN or WHERE in any examples I see)Hmm... as long as you handle authentication/authorization correctly, why is it bad?
It's a way to pluck certain JSON fields that were otherwise going to be returned? Kind of like one of the benefits of GraphQL? Will this catch on?