title: Sitecore Web Api 404 page not found?
body: <p>I am using the Sitecore Web Api to access my Content tree from a non Sitecore web application, but when I try the request I get an 404 file not found error. I have tripled check the GIUD, so that is not the problem.</p>
  
  <p>The settings in the web.config and sitecore.ItemWebApi.config</p>
  
  <pre><code>&lt;setting name="IgnoreUrlPrefixes" value="....|/-/item/v1/|...."/&gt;
  
  &lt;site name="website"&gt;
      &lt;patch:attribute name="itemwebapi.mode"&gt;StandardSecurity&lt;/patch:attribute&gt;
      &lt;patch:attribute name="itemwebapi.access"&gt;ReadOnly&lt;/patch:attribute&gt;
      &lt;patch:attribute name="itemwebapi.allowanonymousaccess"&gt;true&lt;/patch:attribute&gt;
  &lt;/site&gt;
  </code></pre>
  
  <p>The HttpWebRequest</p>
  
  <pre><code>HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://example.com/-/item/v1/?sc_itemid={5E219167-DCC0-4C28-A123-064CACCCCE69}");
  
  var response = (HttpWebResponse)request.GetResponse();
  </code></pre>