Want to get is a cookie in the request header, code for the following:
Final Request request1=new Request. Builder ()
Url (" http://202.115.194.60/hiul3esnbtmfelpvl0lxmxu (1) (S)/default. Aspx ")
.post (requestBody)
.build();
String headers1=request1. Headers (" Cookie "). The toString ();
The e (" Cookie1, "headers1. ToString ());
And get the following situation, don't know how to solve,
So, what is this problem?
CodePudding user response:
Cookie is web server-side code acquisition or generated, you go to the empty data request is empty, of course, did you see the first interface returned to the head of the set cookies related dataCodePudding user response: