News for hackers. Stuff that matters.
Re:REST and GraphQL really aren't that different by headcanon on Wednesday January 30, 2019 @01:46PM (#19037933)
This. GraphQL is agnostic to the application layer, whereas REST is tied to HTTP.

For instance, we have various REST-style endpoints that execute GQL queries directly on the backend.

Re:REST and GraphQL really aren't that different by RussianCow on Wednesday January 30, 2019 @02:02PM (#19038129)
REST is also transport-agnostic and definitely not tied to HTTP, even though that's by far the most common way in which it's used.
Re:REST and GraphQL really aren't that different by mstade on Wednesday January 30, 2019 @02:38PM (#19038530)
> This. GraphQL is agnostic to the application layer, whereas REST is tied to HTTP.

If anything it's the other way around really, HTTP is tied to REST, but even that would be a misnomer. HTTP is an implementation of the architectural style REST, and undoubtedly the most popular in terms of application. There are others though, such as CoAP for example.