Rather than string , pass it as new JSONObject()
new JSONObject()
Replace your line :
requestBody.put("variables", "{}");
with this :
requestBody.put("variables", new JSONObject());