Sha256: 9300963103165ca9384db9a3c32e6302f5584845128bb6521e3bba87237dcf17

Contents?: true

Size: 1.77 KB

Versions: 3

Compression:

Stored size: 1.77 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://api.shapeways.com/orders/cart/v1
    body:
      encoding: UTF-8
      string: '{"modelId":212594,"materialId":77,"quantity":1}'
    headers:
      User-Agent:
      - Faraday v0.8.7
      Content-Type:
      - application/json
      Authorization:
      - OAuth oauth_consumer_key="dummy-key", oauth_nonce="4d27b3f07e1168dc257fd29f1ff629f1",
        oauth_signature="O83r4pHaP%2B%2FvGWp3Wb0jLqqDdOs%3D", oauth_signature_method="HMAC-SHA1",
        oauth_timestamp="1369408148", oauth_token="dummy-token",
        oauth_version="1.0"
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - '*/*'
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx/1.0.5
      Date:
      - Fri, 24 May 2013 15:09:08 GMT
      Content-Type:
      - application/json; charset=utf-8
      X-Powered-By:
      - PHP/5.3.6-13ubuntu3.7
      X-Ratelimit-Oktogo-Inseconds:
      - '0'
      X-Ratelimit-Window-Inminutes:
      - '5'
      X-Ratelimit-Retry-Inseconds:
      - '0'
      X-Ratelimit-Window-Inseconds:
      - '300'
      X-Ratelimit-Limit:
      - '150'
      X-Ratelimit-Remaining:
      - '149'
      Cache-Control:
      - no-cache, must-revalidate
      Expires:
      - Mon, 26 Jul 1997 05:00:00 GMT
      Vary:
      - Accept-Encoding
      Set-Cookie:
      - whid=2; path=/
      Transfer-Encoding:
      - chunked
      Proxy-Connection:
      - Keep-alive
    body:
      encoding: UTF-8
      string: '{"result":"success","nextActionSuggestions":{"getCartList":{"method":"GET","restUrl":"http:\/\/api.shapeways.com\/orders\/cart\/v1","link":"\/orders\/cart\/v1"}}}'
    http_version: 
  recorded_at: Fri, 24 May 2013 15:09:08 GMT
recorded_with: VCR 2.5.0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reshape-0.2 spec/fixtures/cassettes/add_to_cart.yml
reshape-0.1.1 spec/fixtures/cassettes/add_to_cart.yml
reshape-0.1 spec/fixtures/cassettes/add_to_cart.yml