Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Perhaps https://developer.github.com/v4/guides/forming-calls/#commun... is relevant:

> In REST, HTTP verbs determine the operation performed. In GraphQL, you'll provide a JSON-encoded body whether you're performing a query or a mutation, so the HTTP verb is POST. The exception is an introspection query, which is a simple GET to the endpoint.



Thanks. I'm not sure that this conforms to GraphQL best practices. http://graphql.org/learn/serving-over-http/ It seems GET methods should be supported for more than just introspection queries.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: