• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

GET method

 
Isaac Ferguson
Ranch Hand
Posts: 844
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ashwini Kashyap
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic