Sha256: f7743158c2458a8c24b753e35df171d897b9bde13ea5ad207e407788a36873d6

Contents?: true

Size: 1.92 KB

Versions: 10

Compression:

Stored size: 1.92 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://graphql.contentful.com/content/v1/spaces/cfexampleapi
    body:
      encoding: UTF-8
      string: '{"query":"query {\n  foobar\n}\n"}'
    headers:
      Accept:
      - application/json
      User-Agent:
      - gqli.rb/0.1.0; http.rb/2.2.2
      Authorization:
      - Bearer b4c0n73n7fu1
      Connection:
      - close
      Content-Type:
      - application/json; charset=UTF-8
      Host:
      - graphql.contentful.com
  response:
    status:
      code: 400
      message: Bad Request
    headers:
      Access-Control-Allow-Headers:
      - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature
      Access-Control-Allow-Methods:
      - GET,POST,HEAD,OPTIONS
      Access-Control-Allow-Origin:
      - "*"
      Access-Control-Expose-Headers:
      - Etag
      Access-Control-Max-Age:
      - '86400'
      Cache-Control:
      - no-cache
      Content-Type:
      - application/json; charset=utf-8
      Contentful-Api:
      - cda
      Date:
      - Sun, 07 Oct 2018 11:51:17 GMT
      Server:
      - Contentful
      Strict-Transport-Security:
      - max-age=15768000
      X-Content-Type-Options:
      - nosniff
      X-Contentful-Request-Id:
      - 40afaea8b3a54a7674202179a1f46702
      Content-Length:
      - '111'
      Connection:
      - Close
    body:
      encoding: UTF-8
      string: '{"errors":[{"message":"Cannot query field \"foobar\" on type \"Query\".","locations":[{"line":2,"column":3}]}]}'
    http_version: 
  recorded_at: Sun, 07 Oct 2018 11:51:17 GMT
recorded_with: VCR 4.0.0

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gqli-1.2.0 spec/fixtures/vcr_cassettes/validation_error.yml
gqli-1.1.0 spec/fixtures/vcr_cassettes/validation_error.yml
gqli-1.0.0 spec/fixtures/vcr_cassettes/validation_error.yml
gqli-0.6.1 spec/fixtures/vcr_cassettes/validation_error.yml
gqli-0.6.0 spec/fixtures/vcr_cassettes/validation_error.yml
gqli-0.5.0 spec/fixtures/vcr_cassettes/validation_error.yml
gqli-0.4.0 spec/fixtures/vcr_cassettes/validation_error.yml
gqli-0.3.0 spec/fixtures/vcr_cassettes/validation_error.yml
gqli-0.2.0 spec/fixtures/vcr_cassettes/validation_error.yml
gqli-0.1.0 spec/fixtures/vcr_cassettes/validation_error.yml