Sorry guys if it is trivial, but I have no idea how to write a spring boot job that searches in a PHP web page.
So there is a PHP web page, where you can find some search field and a button which will give you the results based on the search fields.
I have always the main URL, like https://some.page.com/subpage/searchforsomething.php# Under F12 (with a browser) I can see the following:
Request URL: https://some.page.com/subpage/searchforsomething.php
Request Method: POST
Content-Type: application/x-www-form-urlencoded
and some Form Data which holds the search filters:
some_search[search_type][living_search_type]: somedummydata
And of course a lot of other data which maybe not necessary.
I know how to write REST API applications, but I have no idea how I could write some scheduled-code to listen to the results of a PHP search site.
So is it possible somehow?
@Scheduled
annotation for Spring? – rickdenhaan Jan 13 at 23:45