To make HTTP requests, we are using node's restful.js
It is giving a warning:
You should return a 204 status code with an empty body.
Our request is a POST (which obviously creates a resource).
The request is successful. The response body is empty. Our response code is 201.
Should we be returning a 201 (created) or 204 (no content) response code?
Is restful.js just being overzealous?