Sha256: f87b4564edc9e9c28eb3a309004d445d5a46a9083492c9631dac6a8e7a474be5
Contents?: true
Size: 1.39 KB
Versions: 1
Compression:
Stored size: 1.39 KB
Contents
--- http_interactions: - request: method: get uri: https://my.datacentred.io/api/projects body: encoding: US-ASCII string: '' headers: Accept: - application/vnd.datacentred.api+json; version=1 Authorization: - 'Token token=:' Content-Type: - application/json User-Agent: - Faraday v0.9.2 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 401 message: Unauthorized headers: Server: - nginx/1.10.3 Date: - Fri, 15 Sep 2017 09:53:41 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Api-Version: - '1' Www-Authenticate: - Token realm="DataCentred" Cache-Control: - no-cache X-Request-Id: - e6449d56-bb6b-4132-947d-14b004970e63 X-Runtime: - '0.028030' body: encoding: UTF-8 string: '{"errors":[{"detail":"Token authentication failed. Invalid credentials or API access is not authorized."}],"links":[{"href":"https://my.datacentred.io/api","rel":"help"}]}' http_version: recorded_at: Fri, 15 Sep 2017 09:53:41 GMT recorded_with: VCR 2.9.3
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datacentred-1.1.1 | test/vcr_cassettes/not_authorized.yml |