C# Call API in the browser of Chrome, doesn't enter controller [Solved]


When I call a api in the url of browser, browser like chrome would redirect you to a non-SSL http,
thus your calling would not get into the API.

So, when this kind of problem shows up, make sure the url of your browser is using https,
if the url you type in is http, then that may be failed, changed that into a https request would be a nice way to get the solution.

#HTTPS #C# #API






你可能感興趣的文章

ASP.NET Core Web API 入門教學 - 使用PUT更新資料

ASP.NET Core Web API 入門教學 - 使用PUT更新資料

如何防範 CSRF (Cross-Site Request Forgery)

如何防範 CSRF (Cross-Site Request Forgery)

CSS Box, Text Shadow

CSS Box, Text Shadow






留言討論