use request for api requests