title: Use RedirectToAction in Web API
body: <p>I am using RedirectToAction in my ASP.Net WebAPI application and I tried the following one.</p>
  
  <pre><code>return RedirectToAction("AuthenticateUser", "AuthenticationServiceWebApi", new RouteValueDictionary
                                                                      {
                                                                          {"userName", model.UserName},
                                                                          {"password", model.Password}
                                                                      });
  </code></pre>
  
  <p>This generates the redirection as below.</p>
  
  <pre><code>127.0.0.1:81/authenticationservicewebapi/authenticateuser/admin/admin@123
  </code></pre>
  
  <p>But, since I am using WebAPI, I need to be the URL like below.</p>
  
  <pre><code>127.0.0.1:81/api/authenticationservicewebapi/authenticateuser/admin/admin@123
  </code></pre>
  
  <p>How do I do this?</p>