--- http_interactions: - request: method: get uri: https://offer-demo.adcrws.com/v1/autocomplete body: encoding: UTF-8 string: member_key=guest&per_page=1&resources=offers headers: Access-Token: - token_without_limit Content-Type: - application/json Accept: - application/json response: status: code: 400 message: Bad Request headers: Content-Type: - application/json Date: - Thu, 06 Aug 2015 17:30:02 GMT Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Request-Id: - aaa0b7de-1e18-49d7-8b18-16aac7b7964b X-Runtime: - '0.000492' Content-Length: - '155' Connection: - keep-alive body: encoding: UTF-8 string: '{"status":400,"message":"There was a problem in the JSON you submitted: 795: unexpected token at ''member_key=guest\u0026per_page=1\u0026resources=offers''"}' http_version: recorded_at: Thu, 06 Aug 2015 17:30:02 GMT - request: method: get uri: https://offer-demo.adcrws.com/v1/autocomplete?member_key=guest&per_page=1&resources=offers body: encoding: US-ASCII string: '' headers: Access-Token: - token_without_limit Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Access-Control-Allow-Headers: - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token Access-Control-Allow-Methods: - POST, GET, PUT, DELETE, OPTIONS Access-Control-Max-Age: - '1728000' Access-Control-Request-Method: - GET Cache-Control: - max-age=0, private, must-revalidate Content-Type: - application/json Date: - Thu, 06 Aug 2015 17:51:03 GMT Etag: - '"737fe2953dc52776edffd3b82e90d9c7"' Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - 91b08a02-74aa-4680-b2f3-e27715929d92 X-Runtime: - '0.021640' X-Xss-Protection: - 1; mode=block Content-Length: - '324' Connection: - keep-alive body: encoding: UTF-8 string: |- { "suggestions": { "query": "*", "offers": [ { "offer_name": "$10 off orders of $100 or more on Hockey Jerseys and apparel.", "offer_key": 13270045, "logo_url": "https://static-demo.accessdevelopment.com/brand/7f9fa6edc2308ae695aa8f43be8c4afa37812dfc/original.png" } ] } } http_version: recorded_at: Thu, 06 Aug 2015 17:51:03 GMT - request: method: get uri: https://offer-demo.adcrws.com/v1/autocomplete?member_key=API_RUBY_GEM_TEST&per_page=1&resources=offers body: encoding: US-ASCII string: '' headers: Access-Token: - token_without_limit Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Access-Control-Allow-Headers: - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token Access-Control-Allow-Methods: - POST, GET, PUT, DELETE, OPTIONS Access-Control-Max-Age: - '1728000' Access-Control-Request-Method: - GET Cache-Control: - max-age=0, private, must-revalidate Content-Type: - application/json Date: - Fri, 11 Sep 2015 20:33:10 GMT Etag: - '"ced50892f93ae8511504eaaa018ff226"' Server: - nginx/1.6.2 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - 15de36f3-a5aa-439f-95d3-fb399f4f16d6 X-Runtime: - '0.026311' X-Xss-Protection: - 1; mode=block Content-Length: - '274' Connection: - keep-alive body: encoding: UTF-8 string: |- { "suggestions": { "query": "*", "offers": [ { "offer_name": "14.5% Reward", "offer_key": 8011936, "logo_url": "https://static-demo.accessdevelopment.com/brand/009b520d456af76b4f9f23bed2751ddef8847d84/original.png" } ] } } http_version: recorded_at: Fri, 11 Sep 2015 20:33:10 GMT recorded_with: VCR 2.9.3