Hi,
I'm using Qt 4.8.5. I was making a request to an url which gaves me back a json reply. It was all ok until I had to change the url from http:// to https:// (Note the security 's' )
text = "https://myweb.com/api/mylist?PARAM1=00000000&PARAM2=1111111111&PARAM3=2222222";
_Url = text;
QNetworkRequest request(_Url);
QNetworkReply *myReply = nam->get(request);
text = "https://myweb.com/api/mylist?PARAM1=00000000&PARAM2=1111111111&PARAM3=2222222";
_Url = text;
QNetworkRequest request(_Url);
QNetworkReply *myReply = nam->get(request);
To copy to clipboard, switch view to plain text mode
Now if you do a reply->ErrorString() you get: "Host requires authentication"
How can I fix that problem? Any example or idea?
Thanks a lot!
Bookmarks