Use httpcore+httpclient provided by EAP
Catch the CRF and return HTML if the request failed