3 ms·
You can use GET for read queries and POST for write queries. Edit: actually you made me think a little bit more about this, if you can make your mutations idem
by RedShift1 6y ago
You can use GET for read queries and POST for write queries.
Edit: actually you made me think a little bit more about this, if you can make your mutations idempotent, spurious retried POST requests shouldn't be a problem at all. However "delete the last record" is not an idempotent operation by definition but also one you wouldn't use in the real world - usually you delete by ID.
Edit 2: it's easy to make the server reject mutations sent via GET.