Not Retrieving Data From Https Server


#1

Hello guys,

I’m trying to fetch Data from a Https Server, but it’s not fetching data showing an error. Same code working fine for Http Server showing all data from server, Can anyone help me out what the issue.

Thanks


#2

The CORS monster if you read the top line

Zillions of posts on this forum on this matter


#3

As soon as you try it with your mobile device, it should work, because CORS is somethig for Brwosers only.

You can try this Chrome addon to disable it, but it doens’t offer all functunalities then (like session cookies)


#4

Thank you for reply but its not working for me, also I tried in mobile but same.


#5

No,

WKWebView loves bugging you with CORS. So in mobile a nogo too.

For a reason.

Check the posts on CORS.

Tom