title: No action was found that matches the request URI
body: <p>I have attempted to modify one of my api controller to allow for the creation of multiple reservations by allowing one of the parameters to be passed in as a pipe delimited string. The method and class can be seen here:</p>
  
  <pre><code>public class ReservationsController : ApiController
  {
      public HttpResponseMessage PostReservation(string eRaiderUserName, string SpaceNumbers)
      {
          char[] delimiter = { '|' };
          string[] spaces = SpaceNumbers.Split(delimiter);
          bool saved = true;
          foreach(string space in spaces)
          {
              var reservation = new Reservation { eRaiderUserName=eRaiderUserName, SpaceNumber=Convert.ToInt32(space) };
              if (true)
              {
                  reservation.Game = db.Games.FirstOrDefault(g =&gt; g.ID == AppSettings.CurrentGameID);
                  db.Reservations.Add(reservation);
                  db.SaveChanges();
  
                  //HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.Created, reservation);
                  //response.Headers.Location = new Uri(Url.Link("DefaultApi", new { id = reservation.ID }));
                  //return response;
              }
              else
              {
                  saved = false;
                  //return Request.CreateErrorResponse(HttpStatusCode.BadRequest, ModelState);
              }
          }
  
          db.SaveChanges();
          if (saved)
          {
              HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.Created);
              response.Headers.Location = new Uri(Url.Link("DefaultApi", new { id = 1 }));
              return response;
          } else
          {
              return Request.CreateErrorResponse(HttpStatusCode.BadRequest, ModelState);
          }
      }
  }
  </code></pre>
  
  <p>I have a form that posts what I think should be the right information, but I keep getting this error:</p>
  
  <pre><code>{"$id":"1","Message":"No HTTP resource was found that matches the request URI 'http://localhost:58463/api/Reservations'.","MessageDetail":"No action was found on the controller 'Reservations' that matches the request."}
  </code></pre>
  
  <p>The (modified) save method in the api is still definitely a work in progress. But what is keeping this from finding the web api controller? Here is the firebug output:</p>
  
  <p><img src="https://i.stack.imgur.com/tgKnb.jpg" alt="enter image description here"></p>