Skip to content

Instantly share code, notes, and snippets.

@mjacobus
Created August 24, 2022 14:07
Show Gist options
  • Save mjacobus/ba942d74579e24d27c9f82df009e0e69 to your computer and use it in GitHub Desktop.
Save mjacobus/ba942d74579e24d27c9f82df009e0e69 to your computer and use it in GitHub Desktop.
---
http_interactions:
- request:
method: post
uri: https://apim.ecuworldwide.com/quotations/v1/
body:
encoding: UTF-8
string: '{"poRUnCode":"HKHKG","poDUnCode":"USSFO","productType":"FCL","cargoClass":"0","isHazardousMaterial":true,"currencyCode":"USD","cargoReadyDate":"2022-08-27","fromType":"port","toType":"port","accountId":"519222"}'
headers:
Content-Type:
- application/json
Cache-Control:
- no-cache
Ecuw-Api-Key:
- "<ECU_WORLDWIDE_API_KEY>"
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 404
message: Not Found
headers:
Cache-Control:
- public,max-age=60
Transfer-Encoding:
- chunked
Content-Type:
- application/json; charset=utf-8
Vary:
- Accept-Encoding
Access-Control-Allow-Origin:
- "*"
Access-Control-Allow-Methods:
- GET,PUT,POST,DELETE,OPTIONS
Access-Control-Allow-Headers:
- "*"
Ecuw-Env:
- Sandbox
Date:
- Wed, 24 Aug 2022 14:05:18 GMT
body:
encoding: ASCII-8BIT
string: '"No offers found"'
recorded_at: Wed, 24 Aug 2022 14:05:18 GMT
recorded_with: VCR 6.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment