Getting server error 400 while connecting server using cookie stored in browser JAVA -


url url = new url("url");  urlconnection conn = url.openconnection();  // conn.setrequestmethod("get"); string mycookie = "value; jnat=value; "                 + "ltpatoken2=value";  conn.setrequestproperty("cookie", mycookie);  conn.connect(); 


Comments

Popular posts from this blog

swift - How to change text of a button with a segmented controller? -

python - How to create jsonb index using GIN on SQLAlchemy? -

PHP DOM loadHTML() method unusual warning -