Catch and record http request