NSCocoaErrorDomain Code=256

前端 未结 7 917
太阳男子
太阳男子 2020-12-01 20:59

I have been stuck with this for a while and don\'t seem to get around this.

I am trying to read the contents of an URL as a string from an URL, But i get a weird

相关标签:
7条回答
  • 2020-12-01 21:42

    I got the same error. The above marked answer is perfect. But in my case, I had the "http://" in the url but had to add the port number in the url request since there is a service running on a specific port that is actually responding to your request. @"http://example.com:8084/yyy.zzz"

    0 讨论(0)
提交回复
热议问题