Timeline for What's the convention to name a REST endpoint that returns a boolean?
Current License: CC BY-SA 4.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 6, 2023 at 14:34 | comment | added | Marco Lackovic | You nailed it with the performance based objection XD (edited my question with it) Thanks a lot! You gave me another idea to further improve performance by not returning any response and use the status codes 200 and 404 in place of the boolean! In this case I would rename the endpoint to /validity | |
| Apr 5, 2023 at 8:38 | history | answered | DavidT | CC BY-SA 4.0 |