Sha256: bc8de37a9ffe634c00445d4e5d600c43b578461dcdf366a8f131ae358dccfc7a

Contents?: true

Size: 1.8 KB

Versions: 1

Compression:

Stored size: 1.8 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.easypost.com/v2/parcels
    body:
      encoding: UTF-8
      string: parcel[weight]=10.0
    headers:
      Accept:
      - "*/*"
      User-Agent:
      - EasyPost/v2 RubyClient/3.0.1
      Authorization:
      - Bearer CvzYtuda6KRI9JjG7SAHbA
      Content-Type:
      - application/x-www-form-urlencoded
      Content-Length:
      - '19'
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Host:
      - api.easypost.com
  response:
    status:
      code: 201
      message: Created
    headers:
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      X-Ep-Request-Uuid:
      - 43c6543d5dca6f1cee6f11e400010e6b
      Cache-Control:
      - no-cache, no-store, must-revalidate, private
      Pragma:
      - no-cache
      Expires:
      - '0'
      Location:
      - "/api/v2/parcels/prcl_c3e6ea88b23f41668fa53fa70d4a99e0"
      Content-Type:
      - application/json; charset=utf-8
      X-Runtime:
      - '0.026856'
      Transfer-Encoding:
      - chunked
      X-Node:
      - bigweb6sj
      X-Version-Label:
      - easypost-201911120131-f5c72b1880-master
      X-Backend:
      - easypost
      X-Proxied:
      - extlb2wdc 2744487620
      - intlb1wdc ff5a2958df
      - intlb2sj ff5a2958df
      Strict-Transport-Security:
      - max-age=15768000; includeSubDomains; preload
    body:
      encoding: ASCII-8BIT
      string: '{"id":"prcl_c3e6ea88b23f41668fa53fa70d4a99e0","object":"Parcel","created_at":"2019-11-12T08:36:44Z","updated_at":"2019-11-12T08:36:44Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.0,"mode":"test"}'
    http_version: 
  recorded_at: Tue, 12 Nov 2019 08:36:44 GMT
recorded_with: VCR 5.0.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_easypost-2.0.0 spec/cassettes/Spree_Stock_Package/_easypost_parcel/is_an_EasyPost_Parcel_object.yml