Sha256: 1b261c6f7072fdd3444a428c1a7b777d268118a56ac3636022ccd7c4641ba31b

Contents?: true

Size: 1.35 KB

Versions: 2

Compression:

Stored size: 1.35 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.thebase.in/1/oauth/token
    body:
      encoding: UTF-8
      string: client_id=e0920d3fba627a5da4eaab4e8e9d43fc&client_secret=ad493e7ada7eb96a6f71d1ccb100966b&code=fd302831251087529c2b6a33ffb342c1&expires_at=2016-01-01+01%3A00%3A00+%2B0900&redirect_uri=https%3A%2F%2Fpacific-thicket-66916.herokuapp.com%2Foauth2callback&access_token=&refresh_token=&search_client_id=623f75000821c16163ec570ca6469539&search_client_secret=214b4134022df8bf0230f5a077c772d9&grant_type=authorization_code
    headers:
      User-Agent:
      - HTTPClient/1.0 (2.7.1, ruby 2.2.3 (2015-08-18))
      Accept:
      - "*/*"
      Date:
      - Thu, 31 Dec 2015 15:00:00 GMT
      Content-Type:
      - application/x-www-form-urlencoded
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/json; charset=UTF-8
      Date:
      - Mon, 07 Mar 2016 15:46:56 GMT
      Server:
      - Apache
      Vary:
      - Accept-Encoding
      Content-Length:
      - '142'
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: '{"access_token":"e6f400618d27cfa9d2b9287bc2aa1b30","token_type":"bearer","expires_in":3600,"refresh_token":"422682355fc4a892a432e6f8b78291aa"}'
    http_version: 
  recorded_at: Thu, 31 Dec 2015 15:00:00 GMT
recorded_with: VCR 3.0.1

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
base-api-client-0.3.3.beta spec/fixtures/vcr_cassettes/client_secret/fetch_token_authorization_code.yml
base-api-client-0.3.2.beta spec/fixtures/vcr_cassettes/client_secret/fetch_token_authorization_code.yml