Laravel how to response only 204 code status with no body message
You may return null:
return response(null, 204);
Edit: I didn't read the question before answering and I notice now that you are already doing this. I recommend you just do an empty / null check on the body in your Ruby code if possible.
Try return Response::make("", 204);
Update: Mark's answer is more up to date:
return response()->noContent()
You can also do return response()->noContent();