Hacker News new | past | comments | ask | show | jobs | submit login

Yeah, I’m not sure why they need to justify REST APIs in 2023?



Probably to prevent readers asking questions like ‘why not gRPC’.


Fair enough, I’m surprised no one has asked about GraphQL yet.


GraphQL is REST (normal POST against /graphql usually). It’s just a grammar by which you retrieve information.


Depending on your definition of REST I guess, what you describe is just saying GraphQL works over HTTP, but I certainly wouldn’t call it RESTful in the slightest.


GraphQL is an entire API definition. Yes, it’s available at a specific POST endpoint - but that does not make it RESTful.


Having also spent time at a GraphQL company, I keep expecting this question too ;)

But, as of yet, it has not come up.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: