title: .net MVC Odata endpoint works on POST, but 404s on GET
body: <p>My question should have a simple answer, but after hours of experimentation and googling, I have nothing so now I'm here.</p>
  
  <p>I am working with .net MVC 5 odata 2.0.  I am trying to create a new odata endpoint that works on a get.  I've successfully created a few endpoints that work with POST, but I can't seem to get one that works as a GET.</p>
  
  <p>relevant code</p>
  
  <p>WebApiConfig.cs</p>
  
  <pre><code>ODataConventionModelBuilder builder = new ODataConventionModelBuilder();
  builder.EntitySet&lt;Review&gt;("Reviews");
  builder.EntitySet&lt;Strategy&gt;("Strategies");
  ActionConfiguration ReviewsInStrategy = builder.Entity&lt;Strategy&gt;().Action("ReviewsInStrategy");
  ReviewsInStrategy.ReturnsCollectionFromEntitySet&lt;Review&gt;("Reviews");
  config.Routes.MapODataServiceRoute("odata", "odata", builder.GetEdmModel());
  </code></pre>
  
  <p>StrategiesController.cs</p>
  
  <pre><code>[EnableQuery]
   public IQueryable&lt;Review&gt; ReviewsInStrategy([FromODataUri] Guid key){
      Strategy strategy = db.Strategies.Find(key);
      return strategy.Reviews
   }
  </code></pre>
  
  <p>Now I go to fiddler and try a GET to </p>
  
  <p>[myurl]/odata/Strategies(guid'[myguid]')/ReviewsInStrategy</p>
  
  <p>I get a 404 result.  But when I change fiddler to a POST (no other change - I don't add accept headers or content types or anything) it works just fine.</p>
  
  <p>How do I make this work with GET?</p>