first:
Header.setRequest("GET", "/data/feed/api/user/" + Username + "?kind=album");
Header.setValue("Authorization", "GoogleLogin auth=" + AuthValue);
http->setHost("picasaweb.google.com");
httpGetAlbumsId = http->request( Header, "", &AlbumsXml);
QString Username("Test");
QString AuthValue("Test1");
QHttpRequestHeader Header;
Header.setRequest("GET", "/data/feed/api/user/" + Username + "?kind=album");
Header.setValue("Authorization", "GoogleLogin auth=" + AuthValue);
QBuffer AlbumsXml;
http->setHost("picasaweb.google.com");
httpGetAlbumsId = http->request( Header, "", &AlbumsXml);
To copy to clipboard, switch view to plain text mode
second:
http->setHost("picasaweb.google.com");
http->get("/data/feed/api/user/" + Username + "?kind=album", &AlbumsXml);
http->setHost("picasaweb.google.com");
http->get("/data/feed/api/user/" + Username + "?kind=album", &AlbumsXml);
To copy to clipboard, switch view to plain text mode
these two snippets have difference, i can't find what!
help me please.
Bookmarks