mock web request handler