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.
over 7 years ago
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 ?