Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on REST and GraphQL really aren't that different.
app.get('/user', (req, res) => {
app.post('/createUser', (req, res) => {
These aren't what I'd consider to be RESTful... these seem more like traditional RPC calls.
There are no comments on this comment yet.
app.get('/user', (req, res) => {
app.post('/createUser', (req, res) => {
These aren't what I'd consider to be RESTful... these seem more like traditional RPC calls.