c# webapi 跳转
c# webapi 跳转
public HttpResponseMessage Post()
{
// ... do the job
// now redirect
HttpResponseMessage resp = new HttpResponseMessage(HttpStatusCode.Moved)
resp.Headers.Location = new Uri("http://www.***c.com");
return resp;
}