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
![](http://www.gravatar.com/avatar/710d9303ea746b61f3e3687c8b5a9bdc?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
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.