Fixing import for ApiRequest.R