Use custom resource and provider to execute http_request and check the redirect and the content of the response