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

PHP DOM loadHTML() method unusual warning -

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

c# - TransactionScope not rolling back although no complete() is called -