Sha256: 6e6fbda40dda62cb59df04bea20234b41f49936f4981b30343a62523d741b507

Contents?: true

Size: 1.87 KB

Versions: 1

Compression:

Stored size: 1.87 KB

Contents

--- 
- !ruby/struct:VCR::HTTPInteraction 
  request: !ruby/struct:VCR::Request 
    method: post
    uri: https://platform-api-stage.amee.com:443/3/categories/039DCB9BA67D/items
    body: values.question=1322523903
    headers: 
      accept: 
      - application/xml
  response: !ruby/struct:VCR::Response 
    status: !ruby/struct:VCR::ResponseStatus 
      code: 401
      message: Unauthorized
    headers: 
      via: 
      - 1.1 platform-api-stage.amee.com
      content-type: 
      - application/xml
      www-authenticate: 
      - Basic realm="AMEE Platform API"
      date: 
      - Mon, 28 Nov 2011 23:45:04 GMT
      server: 
      - Noelios-Restlet-Engine/1.1.10
      accept-ranges: 
      - bytes
      transfer-encoding: 
      - chunked
    body: <?xml version="1.0" encoding="UTF-8" standalone="no"?><Resources><Status><Code>401</Code><Name>Unauthorized</Name><Description>The request requires user authentication</Description><URI>http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2</URI></Status></Resources>
    http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction 
  request: !ruby/struct:VCR::Request 
    method: post
    uri: https://<AMEE_V3_API_KEY>:<AMEE_V3_PASSWORD>@platform-api-stage.amee.com:443/3/categories/039DCB9BA67D/items
    body: values.question=1322524956
    headers: 
      accept: 
      - application/xml
  response: !ruby/struct:VCR::Response 
    status: !ruby/struct:VCR::ResponseStatus 
      code: 201
      message: Created
    headers: 
      location: 
      - https://platform-api-stage.amee.com/3.6.0/categories/039DCB9BA67D/items/XZPAW1QW5NLK
      content-type: 
      - text/plain
      via: 
      - 1.1 platform-api-stage.amee.com
      server: 
      - Noelios-Restlet-Engine/1.1.10
      date: 
      - Tue, 29 Nov 2011 00:02:40 GMT
      content-length: 
      - "0"
      accept-ranges: 
      - bytes
    body: 
    http_version: "1.1"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amee-4.4.0 cassettes/AMEE_Connection/v3/should_be_able_to_post_to_meta_server.yml