-
-
Notifications
You must be signed in to change notification settings - Fork 956
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for custom content-type #14
Comments
@willemevenwel : added in development branch |
Thanks, great work. Tested and working. Will provide more feedback if more feedback comes up. |
Hi, Thanks for this awesome library. I have one question. How to get the status code from the response.? I didn't find any way to get that. |
@nithingkamath : You are welcome. to get the response code you can call response.code() if you are using getAsOkHttpResponse. And also like this :
|
@amitshekhariitbhu |
As of I have done to get OkHttpResponse in Development as getAsOkHttpResponse As of now I have uploaded it on beta. So please compile using the below link.
I think you are telling to provide both parseResponse and OkHttpResponse in a response listener |
Thank you for your quick reply! I am aware of the
|
I will try to add this as soon as possible. Thanks |
Thanks for great library.
Please add support to add custom content-type when using RequestBuilder. It would be nice to be able to add bytes as the body, then custom content-type.
Something like:
AndroidNetworking.post(url).addByteBody(bytes).addContentType("application/json")
Regards,
Willem
The text was updated successfully, but these errors were encountered: