zeeshan wrote: > Hi Android Experts, > > i need to make a GET request to the http://www.x.com/server.xml which > takes 3 mandatory headers > > hdr1,hdr2,hdr3 > > i am trying this code
Your code appears to be setting form variables, which are not HTTP headers. Headers are set via setRequestProperty() with URLConnection, just as you are using it for Connection and Content-Type. -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription: Three Android Books, Plus Updates, $35/Year --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---