Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(anonymous): add application json on request property
  • Loading branch information
rafaelje authored and ajsb85 committed Oct 23, 2017
1 parent 6fccda0 commit 7d27710
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -150,6 +150,7 @@ public static String syncWebData(final String url, final String data) {
HttpURLConnection conn = (HttpURLConnection)dataURL.openConnection();

conn.setRequestMethod("POST");
conn.setRequestProperty("Content-Type", "application/json; charset=UTF-8");
conn.setConnectTimeout(timeout);
conn.setReadTimeout(readtimeout);

Expand Down

0 comments on commit 7d27710

Please sign in to comment.