I want to send a POST request to a rails application and have it save and parse the request body in the database...
My route on the receiving end is currently setup as:
post '/request' => 'controller#receives_data'
connection.post(uri.path, "this is data", header_with_authkey)
422 error, unprocessable entity
You'll need to set the following headers in your post.
Content-Type: application/json Accept: application/json