HTTP request from your Java application

HTTP request from your Java application SearchSearch
Author Message
Andrew Thomas
Unregistered guest
Posted on Tuesday, April 26, 2005 - 11:39 am:   

has anyone completed such a task

i am currently creating a java project for my finals and need to send a message from my java program

i believe that i need to create a HTTP request but have no experience in this field

awgthomas@ntlworld.com

Please help.....thanks
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4406
Registered: 10-2002
Posted on Tuesday, April 26, 2005 - 09:05 pm:   

I'm not a Java expert, but my understanding is that you should be able to use the URLConnection or HTTPURLConnection class to accomplish this.

Search the web with a keyword of HTTPURLConnection, and you should get some examples of usage.

I found one example here ... just leave out the bits where it sets proxy server and proxy port properties ...

http://www.developer.com/java/other/article.php/1551421
Andrew Thomas
Unregistered guest
Posted on Wednesday, April 27, 2005 - 10:56 am:   

thanks for your help.....i shall investigate and post results