title: Jsoup - passing raw body for POST
body: <p>I need to pass raw body to a POST request using Jsoup:</p>
  
  <pre><code>final Connection connect = Jsoup.connect(url);
  
  connect.method(Connection.Method.POST);
  
  String rawBody = // a JSON string representing JSON-RPC call
  
  // fails here "Must supply an even number of key value pairs"
  connect.data(rawBody); 
  
  final Connection.Response response = connect.execute();
  </code></pre>
  
  <p>As I understand it expects pairs key,value. Is there a way to pass a raw body?</p>
  
  <p>P.S. I already have code making HTTP posts via <code>HttpURLConnection</code> and wanted to upgrade to using Jsoup instead of relatively low-level code for this.</p>