Sha256: e358152f5d0b414b1f9ee16563ecd76222722d79b92f66a8478000e1912688bf

Contents?: true

Size: 1.49 KB

Versions: 4

Compression:

Stored size: 1.49 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://connect.mailerlite.com/api/batch
    body:
      encoding: UTF-8
      string: '{"requests":[{"method":"GET","path":"api/subscribers/list"},{"method":"GET","path":"api/campaigns/list"}]}'
    headers:
      Authorization:
      - "<AUTH>"
      User-Agent:
      - MailerLite-client-ruby/0.1.1
      Accept:
      - application/json
      Content-Type:
      - application/json
      Connection:
      - close
      Host:
      - connect.mailerlite.com
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Fri, 23 Dec 2022 20:38:06 GMT
      Content-Type:
      - application/json
      Transfer-Encoding:
      - chunked
      Connection:
      - close
      Cache-Control:
      - no-cache, private
      X-Locale:
      - en
      X-Ratelimit-Limit:
      - '120'
      X-Ratelimit-Remaining:
      - '118'
      Access-Control-Allow-Origin:
      - "*"
      Strict-Transport-Security:
      - max-age=15724800; includeSubDomains
      Cf-Cache-Status:
      - DYNAMIC
      Server:
      - cloudflare
      Cf-Ray:
      - 77e3e6206cc0de47-MCT
    body:
      encoding: UTF-8
      string: '{"total":2,"successful":0,"failed":2,"responses":[{"code":404,"body":{"message":"No
        query results for model [App\\Models\\Subscriber\\Subscriber]."}},{"code":404,"body":{"message":"The
        route api\/campaigns\/list could not be found."}}]}'
  recorded_at: Fri, 23 Dec 2022 20:38:06 GMT
recorded_with: VCR 6.1.0

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mailerlite-ruby-1.0.5 fixtures/batch/request.yml
mailerlite-ruby-1.0.4 fixtures/batch/request.yml
mailerlite-ruby-1.0.3 fixtures/batch/request.yml
mailerlite-ruby-1.0.2 fixtures/batch/request.yml