File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ AndroidNetworking.post("https://fierce-cove-29863.herokuapp.com/createAnUser")
105105 }
106106 });
107107```
108- You can also post json, file , etc in POST request like this.
108+ You can also post json, file, etc in POST request like this.
109109``` java
110110
111111JSONObject jsonObject = new JSONObject ();
@@ -532,8 +532,8 @@ AndroidNetworking.disableLogging(); // disable logging
532532### Enabling GZIP From Client to Server
533533``` java
534534// Enabling GZIP for Request (Not needed if your server doesn't support GZIP Compression), anyway responses
535- from server are automatically unGzipped if required. So enable it only if you need your request to be
536- Gzipped before sending to server(Make sure your server support GZIP Compression ).
535+ // from server are automatically unGzipped if required. So enable it only if you need your request to be
536+ // Gzipped before sending to server(Make sure your server support GZIP Compression).
537537OkHttpClient okHttpClient = new OkHttpClient (). newBuilder()
538538 .addInterceptor(new GzipRequestInterceptor ())
539539 .build();
You can’t perform that action at this time.
0 commit comments