aspose file tools
The moose likes Other Open Source Projects and the fly likes GET method Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "GET method " Watch "GET method " New topic
Author

GET method

Angus Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 240
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: 3027
    
    4

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: 61
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: jrebel
 
subject: GET method
 
Similar Threads
Sending a request to the server using POST
Apache HttpClient posing trouble
HTTPClient time out
SocketException:socket closed
How to validate Url