Sha256: bdac443df0222b7e0654bf6c24cc938c7170d3fa66bff81e4fd43234e54c84a8

Contents?: true

Size: 1.53 KB

Versions: 1

Compression:

Stored size: 1.53 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://api.shutterstock.com/v2/oauth/authorize?client_id=<SSTK_CLIENT_ID>&redirect_uri=http://localhost&response_type=code&scope=collections.view&state=test
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Faraday v0.10.1
      Content-Type:
      - application/json
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 302
      message: Found
    headers:
      Server:
      - nginx
      Date:
      - Fri, 13 Jan 2017 02:19:56 GMT
      Content-Type:
      - text/html
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      X-End-User-Request-Id:
      - 39eae4e3-0632-4a47-9b7b-2299b12516af
      X-Shutterstock-Resource:
      - "/v2/oauth/authorize"
      X-Shutterstock-App-Version:
      - apitwo-742
      Location:
      - https://accounts.shutterstock.com/login?next=%2Foauth%2Fauthorize%3Fclient_id%3D<SSTK_CLIENT_ID>%26redirect_uri%3Dhttp%3A%2F%2Flocalhost%26response_type%3Dcode%26scope%3Dcollections.view%26state%3Dtest%26realm%3Dcustomer
    body:
      encoding: UTF-8
      string: 'Moved Temporarily. Redirecting to https://accounts.shutterstock.com/login?next=%2Foauth%2Fauthorize%3Fclient_id%3D<SSTK_CLIENT_ID>%26redirect_uri%3Dhttp%3A%2F%2Flocalhost%26response_type%3Dcode%26scope%3Dcollections.view%26state%3Dtest%26realm%3Dcustomer

'
    http_version: 
  recorded_at: Fri, 13 Jan 2017 02:19:56 GMT
recorded_with: VCR 3.0.3

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shutterstock-v2-0.0.1 spec/cassettes/Shutterstock_Auth_get_authorize_url/returns_URL_to_redirect_user_to_passing_redirect_url_an.yml