How to get XMLHTTPRequest response text of external web page using Java? -


i struggled parse data external website, example, stackoverflow.com, using java. find out webpage went chrome development tools , found there xmlhttprequest response information need! if useful, response has json format. question how data using java , without servlets.

don't try grab , parse web page, use stackexchange api , standard java tools make request , raw data.

if actual question isn't related directly then, well, api site in question. otherwise going need literally scrape web page parsing manually or running page in browser engine , using standard js in headless engine data out.


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

sql server - SQL Query returns one result, does not return 0 or NULL result -