---
http_interactions:
- request:
    method: post
    uri: https://api.thebase.in/1/oauth/token
    body:
      encoding: US-ASCII
      string: client_id=e0920d3fba627a5da4eaab4e8e9d43fc&client_secret=a7eae9a2903235465e9b43c1116e2046&code=614e48613d8f347eb00444a40fd9e47c&redirect_uri=http%3A%2F%2Flocalhost.local&refresh_token&search_client_id=623f75000821c16163ec570ca6469539&search_client_secret=a52ad8525921ca9a40fee47a38ca429d&grant_type=authorization_code
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
      Host:
      - api.thebase.in
      Content-Type:
      - application/x-www-form-urlencoded
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/json; charset=UTF-8
      Date:
      - Mon, 08 Feb 2016 13:51:52 GMT
      Server:
      - Apache
      Vary:
      - Accept-Encoding,User-Agent
      Content-Length:
      - '132'
      Connection:
      - keep-alive
    body:
      encoding: ASCII-8BIT
      string: '{"access_token":"888access_token888","token_type":"bearer","expires_in":3600,"refresh_token":"8aa0c1d633af7f25909c689e49aab0a1"}'
    http_version: 
  recorded_at: Mon, 08 Feb 2016 13:51:53 GMT
- request:
    method: get
    uri: https://api.thebase.in/1/categories
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Authorization:
      - Bearer 888access_token888
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
      Host:
      - api.thebase.in
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/json; charset=UTF-8
      Date:
      - Mon, 08 Feb 2016 13:51:53 GMT
      Server:
      - Apache
      Vary:
      - Accept-Encoding,User-Agent
      Content-Length:
      - '37'
      Connection:
      - keep-alive
    body:
      encoding: ASCII-8BIT
      string: '{"categories":[]}'
    http_version: 
  recorded_at: Mon, 08 Feb 2016 13:51:53 GMT
recorded_with: VCR 3.0.1