testing api requests