aspose file tools*
The moose likes Other Open Source Projects and the fly likes GET method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "GET method " Watch "GET method " New topic
Author

GET method

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 321
Hi I am trying to send a request to the server using a GET method after the server answer to the request I need get the request.






Many Thanks
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 3946
    
  17

Angus Ferguson wrote:Hi I am trying to send a request to the server using a GET method after the server answer to the request I need get the request.

Do you have a question?

Steve
Ashwini Kashyap
Ranch Hand

Joined: Aug 30, 2012
Posts: 90
Angus Ferguson wrote:
GetMethod method=new GetMethod(url);

// Execute and print response
client.executeMethod(method);
//

String response = method.Which method must I call


I think you are stuck here at the point as to which method to be called for reading the response.
If thats the case refer Http Client site.

Thanks and Regards,
Ashwini Kashyap | akashyap@infocepts.com | www.infocepts.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: GET method
 
Similar Threads
Sending a request to the server using POST
How to validate Url
SocketException:socket closed
Apache HttpClient posing trouble
HTTPClient time out