Get XMLHttpRequest response's data with java | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Get XMLHttpRequest response's data with java

There is an interactive website, containing list of options, by clicking one of them, it send xmlhttp request, and the displaying the data on website, I would ask, how to get these data with java in order to save it, etc..., if I know the referer complete url? My goal is to save these data automatically, still clicking and clicking on the button :) The website has this pattern but the part after "index.php" doesnt be displayed in url toolbar, but I got it from other place, so changing "mkey" parameter, should sends other request. thx for any help,

9th Feb 2019, 10:11 AM
Khaled - avatar
1 Antwort
+ 5
Basically you need a controller on the backend listening to the HttpRequest. I'd recommend to look into the Spring framework which provides out-of-the-box solutions for REST services and data persistence (for many databases, using JPA, Hibernate or whatever). Start from: Spring Boot Spring MVC Spring Data
2nd Feb 2020, 6:38 PM
Tashi N
Tashi N - avatar