0

A general question of mine who working on API endpoints as backend system.

I wonder what if all endpoint methods are POST, and when it is better to use GET?

Nam G VU
  • 30,868
  • 67
  • 216
  • 353

1 Answers1

0

From this discussion

Use GET for safe and idempotent requests

Use POST for neither safe nor idempotent requests

So I can say that it's fine to go all for POST method.

Community
  • 1
  • 1
Nam G VU
  • 30,868
  • 67
  • 216
  • 353