getting request data and passing it to the news analyzer