06-28-2012 07:31 AM
I am doing simple application for a client..I am using jde 7.0 . I have to get the data from the url. The url needs the api key and key name and they should be present in the header of the httpConnection. I dont know how to specify the keyname and api key in the header.
Can anyone help? Can anyone provide me the code?
Solved! Go to Solution.
06-29-2012 12:37 AM
I solved the problem.....
The following is the syntax
con.setRequestProperty("api key name" ,"api key value");
Thank you and Regards