DEV Community

Discussion on: Is GraphQL a REST API?

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

You might be interested in this, as I used to.

  • REST API has its maturity levels and doesn't necessarily use JSON. Most aren't that mature, I believe.
  • GraphQL always doesn't use JSON. Instead, it uses a different specification. Also, it doesn't necessarily send over HTTP. It usually exposes only a single endpoint.
  • Yes, most REST API vs GraphQL comparisons miss the point. It's Apple vs Orange.