2015-07-04 13 views
0

我是微軟Azure的新手,但對web api很好。在本地主機上工作但不在天藍色的POST請求

我已經創建了web api服務,並且能夠在郵件本地主機上測試郵件工具。 現在我已經在Azure上上傳了我的服務,現在我無法從郵遞員工具中調用它。

Azure url: not working 
http://******.azurewebsites.net/api/account/signIn 
body 
userName and password... both are string 

localhost url: working 
http://localhost:62676/api/account/signIn 
body 
userName and password... both are string 

enter image description here

enter image description here

我需要什麼服務改變?請建議。

回答

0

我建議您在Azure中爲您的web api服務啓用調試模式,以查看詳細的錯誤消息和stacktrace進行故障排除。

或者,您也可以爲您的web api啓用遠程調試,並設置必要的斷點以便通過Azure中的web api進行調試。

相關問題