I created an "Instant API" that I want to run through my Microsoft Azure API Management Portal. I know the tool well and have never run into issues.
My Wolfram API works when visited in a browser directly and when I visit the Azure proxy API directly in a browser as well.
I am not sure if this is related to cross domain scripting blocks or what. It is very strange that it works in a browser but inaccessible from Azure server. I can't find any documentation helpful after searching here, Google and stackoverflow.
Here is my Wolfram API:
https://www.wolframcloud.com/objects/user-68afa30f-88be-452e-ae34-910778a40483/JSON?text=What+is+the+problem%3F
Here is my Azure API:
https://bt.azure-api.net/classifier-beta/api?content=Who+is+this+texting+me%3f&subscription-key=25333e73bf2c4be0865bf9a04a33d44d
Here is the Response headers showing in Azure:
Response status
500 Internal Server Error
Response latency
302 ms
Response headers
Pragma : no-cache
Content-Length : 2283
Cache-Control : no-cache, no-store, must-revalidate, max-age=0
Content-Type : text/html;charset=UTF-8
Date : Sun, 21 Sep 2014 01:20:28 GMT
Expires : Wed, 31 Dec 1969 23:59:59 GMT
Set-Cookie : WR_SID=172.26.3.22.1411262429386879; path=/; max-age=315360000; domain=.wolframcloud.com,JSESSIONID=57FDB33A4D6E080DB5272443584AA72F; Domain=.wolframcloud.com; Path=/; HttpOnly,AWSELB=C73773D3101BB33071B2BCAF309546EEA98E5E70DB22D4747043839F966280B321CCF09E33C1D504ACBAD308925AF344966D90E498D4407B3BDA361C1537CC799DDE41A89AC1BE9B55A205CE20257C57E904F7A237;PATH=/;DOMAIN=.wolframcloud.com;HTTPONLY
Server : Microsoft-HTTPAPI/2.0