--- 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