My app contains a WebView to load a specific site which I cannot edit. This Site at some point executes a POST-Request via AJAX/JavaScript. I need to get the response body of that AJAX-Request do be able to detect wether the process was successfully finished by the user.
I already tried to use the WebViewClient, but I couldn't manage to retrieve the response body of the POST-Request (eg. by using shouldInterceptRequest).
Is there a way to read the data of the AJAX-Request?