Guard the HTTP request