Start a new topic

Trouble to download .wtc file using Java code

Trouble to download .wtc file using Java code


I generated .wtc file using TargetAPI, but I get "org.apache.http.client.HttpResponseException: Unauthorized" exception when I am trying to download .wtc file from java code. Do you have idea which credentialI need to pass if I need to? However, I can download file contect using wget/internet explorer without passing credential.

Thanks for oyur help.

Hi Krishma,

Links generated by Targets API does not require authorization. I guess that something is not working in the JAVA code.

Could you post your snippet and the url to your .wtc file ?


Login or Signup to post a comment