Last post Oct 08, 2015 01:41 AM by Jamobor yao - MSFT
Sep 18, 2015 12:45 PM|flyingfishnm|LINK
We've created an API which we've deployed as a Web Application. As part of the request header we embed a version number. When this is run on our servers we see, via Fiddler, that the header has the version number, when run it from Azure the version number
is missing! and the header look different as well..
Can anyone tell me why this is happening and how to fix the problem?
Any help very much appreciated!
Sep 20, 2015 09:44 PM|Jamobor yao - MSFT|LINK
Based on your description, your request couldn't reach to Azure server, which detailed error do you received in fiddler? It is better for us to find out the issue if you could give us more information.
Sep 21, 2015 11:41 AM|flyingfishnm|LINK
We didn't get and error message. When the service ran on our local servers it worked ok, i.e. the line of text we embeded in the header was received without any issues. When the same code was delpoyed to azure the line of text was missing.
I've attached two images 1) shows the fiddler result when ran locally, which showed the line "api version: 0.3" in the response header, and is what is expected; and 2) shows the azure version and you can see the 'Miscellaneous' section in the response header
is vastly reduce and missing the api version line...
1) Local request & response
2) Azure request & response
Oct 08, 2015 01:41 AM|Jamobor yao - MSFT|LINK
I try to reproduce this issue on my side, however my API works fine, different version return with different value, and I could find the api-version in 'Miscellaneous' section:
Did you add api-version in your request? It seems not an azure limitation but your logic, please check your http request to find out the detailed issue.