File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 386
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: 4181
    
  21

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