Ported Slip to Cowboy

The content type isn't text/plain, you have to make it application/json if its a json response. You can check the path and just pick the content type based on that.