pls check th below code n its strange output...i m not able to figure it out
QString params = QString("q=%1&fields=%2")
.arg(QByteArray("mimeType='application/json'").toPercentEncoding().data())
.arg(QByteArray("items").toPercentEncoding().data( ));
Output:
q=mimeType%3D%27applicationitemsFjson%27&fields=it ems
why items coming just after application...wat happened to '/' percent encoded part. If i remove '/' then output is fine.
Bookmarks