Sha256: 3f9e54c3efeb8a0fd1c231c22365b86d70a0c8bfbf3c17de3184b4ccee2368b1

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://www.strava.com/oauth/token
    body:
      encoding: UTF-8
      string: client_id=12345&client_secret=client-secret&code=code&grant_type=authorization_code&token
    headers:
      Accept:
      - application/json; charset=utf-8
      User-Agent:
      - Strava Ruby Client/0.1.0
      Content-Type:
      - application/x-www-form-urlencoded
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
  response:
    status:
      code: 400
      message: Bad Request
    headers:
      Date:
      - Thu, 22 Nov 2018 20:26:56 GMT
      Content-Type:
      - application/json; charset=UTF-8
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      Cache-Control:
      - no-cache
      Via:
      - 1.1 linkerd
      Status:
      - 400 Bad Request
      X-Request-Id:
      - d3406a4e-9099-400f-b709-aad0ea2768fe
      X-Frame-Options:
      - SAMEORIGIN,DENY
      X-Content-Type-Options:
      - nosniff
      X-Xss-Protection:
      - 1; mode=block
    body:
      encoding: ASCII-8BIT
      string: '{"message":"Bad Request","errors":[{"resource":"RequestToken","field":"code","code":"invalid"}]}'
    http_version:
  recorded_at: Thu, 22 Nov 2018 20:26:56 GMT
recorded_with: VCR 4.0.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
strava-ruby-client-0.1.0 spec/fixtures/strava/oauth_token_invalid_code.yml