title: Seeking simple coding example for Axis webcam using Vapix
body: <p>I should probably ask at the <a href="http://custforum.axis.com/viewforum.php?f=9" rel="nofollow noreferrer">official Axis developer forum</a>, but it seems that several have tried that with no success. </p>
  
  <p>Searching through Stack Overflow, I find a few references to Axis cameras and the Vapix API which is a fairly simple-looking HTTP interface - for instance <a href="https://stackoverflow.com/questions/1751040/anyone-has-an-example-of-a-well-defined-rest-web-service">this question</a> - so hopefully someone reading this site will be able to help.</p>
  
  <p>The interface looks quite straightforward, but when I execute a GET using JQuery I always end up getting 401 not authorized.</p>
  
  <p>I can't find anything in the available documentation to cover authorization - do I login once, or must I supply user name &amp; password params on each request? (I tried that &amp; it still 401ed)</p>
  
  <p>It seems that the simplest might be if someone can post a few lines of code doing something simple with an Axis (211W) webcam using the Vapix API and I can extrapolate form there.</p>
  
  <p>Anyone? ...</p>