title: POST form data as application/json
body: <p>I'm working on an API that receives an application/json post request, and triggers some flow. </p>
  
  <p>My main issue at the moment is sending an application/json post, with data from a input form.</p>
  
  <p>I've tried jQuery ajax () but since I'm expecting a page reload it doesn't seem to be working as needed. </p>
  
  <p>Since this isn't part off a very complex app all I need to do is be able to take a very simple form and post it's contents into a json object and send it as the mentioned application/json request </p>