Create basic Web API template project without auth.
Make sure ValuesController has following action:
// PUT api/values/5
public void Put(int id, [FromBody]string value)
{
}
Deploy the application to azure website.
Repeat sending following requests:
PUT http://webstacktest03.azurewebsites.net/api/Values/1 HTTP/1.1
Content-Length: 6
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Host: webstacktest03.azurewebsites.net
="123"
You will observe:
1st request: works
2nd request: no response
3rd request: works
4th request: no response
The same scenario works fine in local IIS express.
Make sure ValuesController has following action:
// PUT api/values/5
public void Put(int id, [FromBody]string value)
{
}
Deploy the application to azure website.
Repeat sending following requests:
PUT http://webstacktest03.azurewebsites.net/api/Values/1 HTTP/1.1
Content-Length: 6
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Host: webstacktest03.azurewebsites.net
="123"
You will observe:
1st request: works
2nd request: no response
3rd request: works
4th request: no response
The same scenario works fine in local IIS express.