AndroidAsync icon indicating copy to clipboard operation
AndroidAsync copied to clipboard

How to set Cookies ?

Open MrThiago opened this issue 10 years ago • 2 comments

Hi, I need to save cookies.

I am using Volley for My APIs, which I store the Cookies. Now I need use your Library to upload a image to my sever (i can not get to work with volley). I need pass the cookies from Volley to your Library.

Can you please advice.thank you

MrThiago avatar Jul 17 '15 17:07 MrThiago

I came here to report the same problem. Apparently AndroidAsync currently lacks the API to add custom headers or even cookies. Currently I am using this workaround in my sms-server project: Creating cookies by Javascript on the client side.

ferchang avatar Jan 15 '16 18:01 ferchang

use request.addHeader("Cookie",beforeCookie1);

buchisu avatar Jun 25 '20 11:06 buchisu