I’ve a web page on which certain section is being populated by ajax. I want this data. I’ve written a java program which posts the data and submit the form but unable to fetch the ajax content of the response.
My application is a core java app.
I’m simply posting data/submitting form with all request parameters set correctly. But not getting the data in response which is populated by ajax. 🙁
How can i get that data?
Any suggestions?
Standard ajax requests have an additional HTTP
X-Requested-Withheader. If they are filtering requests by type you will get nothing.As people commented try it on Firefox with Firebug addon and check the request headers.