Sha256: 30d751dcf22b850b198d1686faa09f626e7450ea99d84b4010d46804d1091557

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: http://<USERNAME>:<PASSWORD>@formhub.org/<USERNAME>/forms/survey/api?fields=%5B%22name%22,%22age%22%5D
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
      Host:
      - formhub.org
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Mon, 16 Jun 2014 13:01:23 GMT
      Content-Type:
      - application/json
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      Server:
      - gunicorn/0.15.0
      Access-Control-Allow-Headers:
      - Accept, Origin, X-Requested-With, Authorization
      Content-Language:
      - en-us
      Vary:
      - Accept-Language, Cookie
      Etag:
      - "\"e0a1cd3b3b92babaeae0f95867a7a777\""
      Access-Control-Allow-Origin:
      - "*"
      Access-Control-Allow-Methods:
      - GET
      Strict-Transport-Security:
      - max-age=31536000
    body:
      encoding: UTF-8
      string: "[{\"age\": \"23\", \"_id\": 3318647, \"name\": \"loic\"}, {\"age\":
        \"100\", \"_id\": 3413155, \"name\": \"Robert\"}, {\"age\": \"18\", \"_id\":
        3318651, \"name\": \"georges\"}, {\"age\": \"15\", \"_id\": 3413156, \"name\":
        \"napol\\u00e9on\"}]"
    http_version: 
  recorded_at: Mon, 16 Jun 2014 12:59:55 GMT
recorded_with: VCR 2.9.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
formhub_ruby-0.0.8.4 spec/fixtures/vcr_cassettes/retrieve_selected_fields_only.yml