Return 204 when no data
Hi,
When there's no data to return, do not return JSON with [] or null.
Please return 204 value.
https://restfulapi.net/http-status-204-no-content/
Regards,
Denis
5
votes
PEYRAS Denis (Ext)
shared this idea
Hi Denis, thanks for your submission.
Our API isn't adhering strictly to restful principles. At the moment we are not likely to make this change on the short term.