Well, I am using QT's HttpMultipart to post as described here
http://doc.qt.io/qt-4.8/qhttpmultipart.html
and i use finished signal to parse the JSON reply.
connect(reply, SIGNAL(finished()), this, SLOT(onGetReply()));
I think it does upload same image more than once.