title: How do i fix "Origin null is not allowed by Access-Control-Allow-Origin" error in Javascript (jquery) with webworks?
body: <p>I am trying to create a webworks app and trying to use jquery to post to a REST api - </p>
  
  <p>I get the following error </p>
  
  <p>"Origin null is not allowed by Access-Control-Allow-Origin"</p>
  
  <p>The javascript tries to post to a rest api using jquery</p>
  
  <p>I am getting the error when running it on chrome or firefox. Some of the solutions I see on stackoverflow says that I need to run it on a webserver, but I would like to run it as a webworks app and therefore need to have it stand alone. Also, if I run this as hta (html application) it runs fine. </p>