Update HttpHelper.java
This commit is contained in:
1 parent
a6f278c3ca
commit
7cb04f39b3
1 file changed
+1
-1
@@ -394,7 +394,7 @@ public class HttpHelper {
|
||||
DataOutputStream out = new DataOutputStream(conn.getOutputStream());
|
||||
String body = mJo.toString();
|
||||
Log.d(TAG, "Post json: " + body);
|
||||
out.writeBytes(body);
|
||||
out.write(body.getBytes("utf-8"));
|
||||
out.flush();
|
||||
out.close();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user