Ruby RestClient to access Rational Team Concert (RTC) REST
问题 I want to use the Ruby gem RestClient to access records from Rational Team Concert (RTC) over REST URLs. I have done this successfully with other servers. When I use the REST URL in Chrome directly, I can get a record. However, when I use my Ruby code, I get back some page that includes a line: net.jazz.ajax._appPath = "/ccm0001001/auth/authrequired"; I've tried all sorts of ways to pass the credentials, but nothing seems to work. This is what I want to use: response = RestClient::Request.new