Sha256: d4431153fe591a849201fd9358f7f7bf053089caf000b95224e04b2fbdaec0a2

Contents?: true

Size: 1.19 KB

Versions: 2

Compression:

Stored size: 1.19 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://sp-money.yandex.ru/oauth/token
    body:
      encoding: UTF-8
      string: code=SOME%20CODE&client_id=<CLIENT_ID>&grant_type=authorization_code&redirect_uri=http%3A%2F%2F127.0.0.1%3A4567%2Fredirect
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx
      Date:
      - Mon, 10 Nov 2014 19:24:27 GMT
      Content-Type:
      - application/json
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      Keep-Alive:
      - timeout=120
      Vary:
      - Accept-Encoding
      Cache-Control:
      - max-age=0, proxy-revalidate
      Expires:
      - Mon, 10 Nov 2014 19:24:27 GMT
      Set-Cookie:
      - yandexuid=4758806711415647467; domain=.yandex.ru; path=/; expires=Tue, 19
        Jan 2038 03:14:07 GMT
      - ys=ymrefl.D9768DB1FD130B6F; domain=.yandex.ru; path=/
    body:
      encoding: UTF-8
      string: '{"error":"invalid_grant"}'
    http_version: 
  recorded_at: Mon, 10 Nov 2014 19:24:29 GMT
recorded_with: VCR 2.9.3

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
yandex-money-client-1.0.6 spec/fixtures/vcr_cassettes/get_token_from_authorization_code.yml
yandex-money-sdk-1.0.5 spec/fixtures/vcr_cassettes/get_token_from_authorization_code.yml