Sha256: 31e91755426900ffbe55a66a2e94bbb291f4a43aeeb7deafb8de10df9510c9d9

Contents?: true

Size: 1.67 KB

Versions: 3

Compression:

Stored size: 1.67 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: "<BRAZE_REST_URL>/messages/send"
    body:
      encoding: UTF-8
      string: '{"messages":{"apple_push":{"alert":"hello"}},"external_user_ids":[12345]}'
    headers:
      Content-Type:
      - application/json
      Accept:
      - application/json
      User-Agent:
      - Braze Ruby gem v0.3.3
      Authorization:
      - Bearer <BRAZE_REST_API_KEY>
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
  response:
    status:
      code: 201
      message: Created
    headers:
      Connection:
      - keep-alive
      Content-Length:
      - '94'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Type:
      - application/json
      Etag:
      - W/"b9e7fd89d471f3f07bc5423aebe2ffec"
      Server:
      - nginx
      Strict-Transport-Security:
      - max-age=0; includeSubDomains
      - max-age=31536000; includeSubDomains
      X-Ratelimit-Limit:
      - '250000'
      X-Ratelimit-Remaining:
      - '249954'
      X-Ratelimit-Reset:
      - '1592427600'
      X-Request-Id:
      - e2e72c50-28ca-48b1-a8a0-4f5358ee3e71
      X-Runtime:
      - '0.015367'
      Accept-Ranges:
      - bytes
      Date:
      - Wed, 17 Jun 2020 20:37:30 GMT
      Via:
      - 1.1 varnish
      X-Served-By:
      - cache-hhn4020-HHN
      X-Cache:
      - MISS
      X-Cache-Hits:
      - '0'
      X-Timer:
      - S1592426251.662252,VS0,VE65
      Vary:
      - Origin,Accept-Encoding
    body:
      encoding: ASCII-8BIT
      string: '{"dispatch_id":"dad3e2b4166cf9902f5ce54215241a33","message":"success"}'
    http_version: 
  recorded_at: Wed, 17 Jun 2020 20:37:30 GMT
recorded_with: VCR 5.0.0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
braze_ruby-0.4.2 spec/fixtures/responses/send_messages/with_success/responds_with_created.yml
braze_ruby-0.4.1 spec/fixtures/responses/send_messages/with_success/responds_with_created.yml
braze_ruby-0.4.0 spec/fixtures/responses/send_messages/with_success/responds_with_created.yml