title: Post JSON data without ajax or form
body: <p>I have a json object that I would like to post. I beleive that Im close but the data isnt getting sent correctly.</p>
  
  <p>data is correctly formatted json string and it works correctly with ajax. However, the page needs to be redirected according to the REST api im requesting. Obviously using ajax, this wouldn't happen.</p>
  
  <pre><code>var data = JSON.stringify(myJsonObject);
  
  $('&lt;form enctype="application/json" action="/projects" method="POST"&gt;' + 
    '&lt;input type="hidden" name="json" value="' + data + '"&gt;' +
    '&lt;/form&gt;').submit();
  </code></pre>