Only consider data successfully sent if the response is a JSON object that has a key "result":"ok"