title: Send JSON data as post method from rails controller to a web service
body: <p>I am trying to send some json data from my controller written in rails to a java webservice.</p>
  
  <p>On form submission i take all the input fields data do some procession on it and convert it into json object using to_json.</p>
  
  <p>But how can i send it to java webservice</p>
  
  <pre><code>http://localhost:8080/exim/jsonToMapService?jsonData={"key":"value"}
  </code></pre>