DEV Community

Discussion on: GraphQL or REST? What should I use?

Collapse
 
nxmohamad profile image
Nazreen

why is it not considered an architectural pattern?
RESTful APIs depend on URIs specific to resources whereas GraphQL can in simple cases remove that.

"The acronym REST stands for Representational State Transfer, this basically means that each unique URL is a representation of some object"

Without a URL for each object, we don't have a RESTful API pattern. Is it then not fair to say that GraphQL can replace RESTful API architecture?