Sha256: db42dd69035849765b9a5330dd7c522c32345111f7e6b93d32a72c3d2773bca3

Contents?: true

Size: 1.57 KB

Versions: 9

Compression:

Stored size: 1.57 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: "<BRAZE_REST_URL>/messages/send"
    body:
      encoding: UTF-8
      string: '{"api_key":"<BRAZE_REST_API_KEY>","messages":{"apple_push":{"alert":"hello"}},"external_user_ids":[1]}'
    headers:
      User-Agent:
      - Faraday v0.14.0
      Content-Type:
      - application/json
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 201
      message: Created
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Type:
      - application/json
      Etag:
      - W/"838a7c62adda8d131d694ae13ba2c5b7"
      Server:
      - nginx
      Strict-Transport-Security:
      - max-age=0; includeSubDomains
      - max-age=31536000; includeSubDomains
      X-Ratelimit-Limit:
      - '50000'
      X-Ratelimit-Remaining:
      - '49989'
      X-Ratelimit-Reset:
      - '1524002400'
      X-Request-Id:
      - aec47065-45d4-4fb7-a593-a4ffd110c314
      X-Runtime:
      - '0.013801'
      Content-Length:
      - '46'
      Accept-Ranges:
      - bytes
      Date:
      - Tue, 17 Apr 2018 21:08:22 GMT
      Via:
      - 1.1 varnish
      Connection:
      - keep-alive
      X-Served-By:
      - cache-pdk17821-PDK
      X-Cache:
      - MISS
      X-Cache-Hits:
      - '0'
      X-Timer:
      - S1523999302.923924,VS0,VE423
      Vary:
      - Accept-Encoding
    body:
      encoding: ASCII-8BIT
      string: '{"message":"success"}'
    http_version: 
  recorded_at: Tue, 17 Apr 2018 21:08:22 GMT
recorded_with: VCR 4.0.0

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
braze_ruby-0.3.3 spec/fixtures/responses/send_messages/with_success/responds_with_created.yml
braze_ruby-0.3.2 spec/fixtures/responses/send_messages/with_success/responds_with_created.yml
braze_ruby-0.3.1 spec/fixtures/responses/send_messages/with_success/responds_with_created.yml
braze_ruby-0.2.2 spec/fixtures/responses/send_messages/with_success/responds_with_created.yml
braze_ruby-0.2.1 spec/fixtures/responses/send_messages/with_success/responds_with_created.yml
braze_ruby-0.2.0 spec/fixtures/responses/send_messages/with_success/responds_with_created.yml
braze_ruby-0.1.0 spec/fixtures/responses/send_messages/with_success/responds_with_created.yml
braze_ruby-0.0.2 spec/fixtures/responses/send_messages/with_success/responds_with_created.yml
braze_ruby-0.0.1 spec/fixtures/responses/send_messages/with_success/responds_with_created.yml