Fast-Android-Networking
Fast-Android-Networking copied to clipboard
🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀
Below is my code. AndroidNetworking.post("http://"+ Login.ip+"/api/teachers/test_courses") .addBodyParameter(added_courses_list) .setTag("test") .setPriority(Priority.IMMEDIATE) .build() .getAsString(new StringRequestListener() { @Override public void onResponse(String response) { Log.i("success",response); } @Override public void onError(ANError anError) { Log.i("Error code", String.valueOf(anError.getErrorCode()));...
warning: [unchecked] unchecked call to addBodyParameter(Map) as a member of the raw type PostRequestBuilder AndroidNetworking.post(baseUrl +"/tokenValidate").addBodyParameter(params).build() where T is a type-variable: T extends PostRequestBuilder declared in class PostRequestBuilder Code is:...
I always disable this code, when test uploading : `OkHttpClient okHttpClient = new OkHttpClient() .newBuilder() .addNetworkInterceptor(new ChuckInterceptor(this)) .build(); AndroidNetworking.enableLogging(HttpLoggingInterceptor.Level.BODY); AndroidNetworking.initialize(getApplicationContext(), okHttpClient);` Upload work only if enableLogging disable, with simple initialize...
that would be good provide basic auth like https://github.com/koush/ion Ion.with(this).load("GET", url).basicAuthentication(UserName, Password) for examle AndroidNetworking.get(url)..basicAuthentication(UserName, Password)... thanks
Its not an issue, its a question. I want to know how we can get response header using this networking library
Is there a way to get the progress of uploading large data with a POST request? If so, how to achieve it?
i don't understand keyword "value" in addMultipartParameter in Upload request of libraly, please support me if posible i would like a demo for UPLOAD request
Thanks a lot for this amazing, super intuitive library!. Just Brilliant, mate!. I think it will be amazing if you add a benchmark result in the repo. As it is...
I have an MVP structure project, and it's working very well on development flavour, but when I generate production APK, the app is not working. And after investigation, we found...
Hi, i was using a old version of FAN: 0.3.0, and i was using the next code for getting the info of some ips: AndroidNetworking.post(getString(R.string.url_check_ip_batch)) .addJSONArrayBody(jsonArray) .setTag("getIpInfo") .setPriority(Priority.MEDIUM) .build() .getAsJSONArray(new...