added ability to save api request sent