modified _request() in ApiServer