Sha256: e5fca07953976f39a9a908c9f85e5d0fc768c903d5441a95a51f1ac37378cc9d

Contents?: true

Size: 957 Bytes

Versions: 1

Compression:

Stored size: 957 Bytes

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.dpd.ro/v1/shipment/info
    body:
      encoding: UTF-8
      string: '{"shipmentIds":["wrong"],"userName":"<DPD_USERNAME>","password":"<DPD_PASSWORD>"}'
    headers:
      Content-Type:
      - application/json
      Connection:
      - close
      Host:
      - api.dpd.ro
      User-Agent:
      - http.rb/4.3.0
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Thu, 16 Jan 2020 13:43:12 GMT
      Server:
      - Apache/2.4.25 (Win64) OpenSSL/1.0.2k
      Content-Type:
      - application/json;charset=UTF-8
      Content-Length:
      - '60'
      Set-Cookie:
      - SERVERID_8084=server123-8084-81; path=/
      Connection:
      - close
    body:
      encoding: UTF-8
      string: '{"error":{"context":"","message":"Barcode wrong not found"}}'
    http_version: 
  recorded_at: Thu, 16 Jan 2020 13:43:13 GMT
recorded_with: VCR 5.0.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dpd-0.1.0 vcr_cassettes/dpd_error.yml