Hacker News new | ask | show | jobs
by enlyth 1364 days ago
> Offer a variant of your API format that either: 1. Moves the resource path to the request body

GraphQL

ducks

1 comments

> GraphQL

And now you have two problems

I got N+1 problems but CORS ain't one
But you have a nice schema for your problem :)

GQL is a bit ugly, but works well, kind of standardized, etc.

Is there something similar for providing a batch endpoint for OpenAPI requests?

  GET /blog/1?with=comments,author&only=title,body,created_at,comments.body,author.name