• Post Reply Bookmark Topic Watch Topic
  • New Topic

Sending post response from a browser to a java program

 
Jonny English
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I’d like to learn how I could update variables in a java program by monitoring the response body's of specific post requests made by a browser.
I can see the information that I’m after via tools like fiddler but I don’t know how I could send a copy of it to a java program.
Any help would be greatly appreciated as I’m very new to programming.
 
vp reddy
Greenhorn
Posts: 7
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

You can access the post/get request parameters in java program using request.getParameter("<key">). key should be replaced with the request parameter you are trying to access like username or password etc.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!