Jump to content

HttpURLConnection based rest_v2 GET cookie based authentication erro


devopam.mittra
Go to solution Solved by devopam.mittra,

Recommended Posts

I am using a HttpURLConnection  (con) object and trying to  do:  con.setRequestProperty("Cookie", cookie); [Note: cookie is a plain string that I got from a different method written to return cookie in the prescribed format as a string like $Version=0; JSESSIONID=5598BB8D8B4F2F69A3D8AA16677EE534; $Path=/jasperserver-pro]

Constantly hitting 403 error :(

Any pointers will be really helpful.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...