Using HTTPUrlConnection for REST API call to Parse server
I think you forgot to flush the output stream.
DataOutputStream out = new DataOutputStream(urlConnection.getOutputStream());out.write(outputBytes);out.flush(); //Don't forgot to flush the outputout.close();