return c.JSON(204, nil)
gives this in the console:
2015/10/22 16:11:04 http: request method or response status code does not allow body
While it is harmless, I was hoping there would be a better way to send a 204.
You should use c.NoContent(204)
Yep! Works, thanks!
Most helpful comment
You should use
c.NoContent(204)