Sha256: 337bf605bff8489d6e157e42f52cb99187667b33aebad2cbd2c6da0936a0dfc3

Contents?: true

Size: 1.75 KB

Versions: 2

Compression:

Stored size: 1.75 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api-sandbox.bolt.com/v1/merchant/callbacks
    body:
      encoding: UTF-8
      string: '{"division_id":"Rq4qB1QajYLn","callback_urls":[{"type":"oauth_redirect","url":"http://localhost:3000/users/auth/bolt"},{"type":"oauth_logout","url":"http://localhost:3000//user/spree_user/logout"}]}'
    headers:
      Content-Type:
      - application/json
      X-Api-Key:
      - "<API_KEY>"
      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:
      Date:
      - Tue, 26 Jul 2022 21:17:15 GMT
      Content-Type:
      - application/json; charset=UTF-8
      Content-Length:
      - '4'
      Connection:
      - keep-alive
      Public-Key-Pins-Report-Only:
      - max-age=2592000;pin-sha256="OGAVOYhLZd3ADKYGFZOED1c5m1ObMlRv9PyIWrO4Nd0=";pin-sha256="RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho=";pin-sha256="IXHYSIdST+XY22J5ivybYkntMIfjA5P6pMKX2hWG1BE=";report-uri="https://77aa1bd121ef22d50247a23390ce6cff.report-uri.io/r/default/hpkp/reportOnly"
      Set-Cookie:
      - trk=ea8f518e-f41d-4b8c-9615-161bff916a0f; Path=/; Max-Age=31536000; HttpOnly;
        Secure; SameSite=None
      Strict-Transport-Security:
      - max-age=31536000; includeSubDomains; preload
      X-Bolt-Api-Version:
      - '2022-01-01'
      X-Bolt-Trace-Id:
      - Root=1-62e059db-307d2def557ae7d63cda1f93
      X-Device-Id:
      - 65fb9d676354668c7128f58217c94230e32303007b66559078fee6aefb88e8a4
      X-Envoy-Upstream-Service-Time:
      - '37'
      Server:
      - envoy
    body:
      encoding: UTF-8
      string: 'null'
  recorded_at: Tue, 26 Jul 2022 21:17:15 GMT
recorded_with: VCR 6.1.0

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_bolt-0.6.0 spec/fixtures/vcr_cassettes/SolidusBolt_MerchantConfiguration_SetCallbackUrlsService/_call/receives_the_correct_response.yml
solidus_bolt-0.5.0 spec/fixtures/vcr_cassettes/SolidusBolt_MerchantConfiguration_SetCallbackUrlsService/_call/receives_the_correct_response.yml