--- 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=categories 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:01 GMT Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Request-Id: - 79b2630f-46f6-4a0b-a187-28e45d723241 X-Runtime: - '0.000272' Content-Length: - '159' 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=categories''"}' http_version: recorded_at: Thu, 06 Aug 2015 17:30:01 GMT - request: method: get uri: https://offer-demo.adcrws.com/v1/autocomplete?member_key=guest&per_page=1&resources=categories 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:04 GMT Etag: - '"cdc9e19f6eb96655bd3773c1172d9712"' Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - 62f4d7a2-e1b4-43d8-a201-7fdd7457665c X-Runtime: - '0.013314' X-Xss-Protection: - 1; mode=block Content-Length: - '239' Connection: - keep-alive body: encoding: UTF-8 string: |- { "suggestions": { "query": "*", "categories": [ { "category_name": "Air & Parking", "category_key": 1109, "logo_url": "https://static-demo.accessdevelopment.com/icons/travel.png" } ] } } http_version: recorded_at: Thu, 06 Aug 2015 17:51:04 GMT - request: method: get uri: https://offer-demo.adcrws.com/v1/autocomplete?member_key=API_RUBY_GEM_TEST&per_page=1&resources=categories 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: - Wed, 12 Aug 2015 17:46:44 GMT Etag: - '"cdc9e19f6eb96655bd3773c1172d9712"' Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - c648da08-652f-435f-a73e-91226e34fc2a X-Runtime: - '0.012714' X-Xss-Protection: - 1; mode=block Content-Length: - '239' Connection: - keep-alive body: encoding: UTF-8 string: |- { "suggestions": { "query": "*", "categories": [ { "category_name": "Air & Parking", "category_key": 1109, "logo_url": "https://static-demo.accessdevelopment.com/icons/travel.png" } ] } } http_version: recorded_at: Wed, 12 Aug 2015 17:46:44 GMT recorded_with: VCR 2.9.3