--- http_interactions: - request: method: get uri: https://offer-demo.adcrws.com/v1/autocomplete body: encoding: UTF-8 string: member_key=guest&per_page=1 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: - 8cd1040d-fe67-4cf2-8ec6-39fe5d2e307d X-Runtime: - '0.000270' Content-Length: - '133' 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''"}' 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 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: - '"237e68189af825ba2f95093c5f0cba5c"' Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - 62811a34-8fbf-417a-bd47-1dfefbc88178 X-Runtime: - '0.071309' X-Xss-Protection: - 1; mode=block Content-Length: - '1123' Connection: - keep-alive body: encoding: ASCII-8BIT string: !binary |- ewogICJzdWdnZXN0aW9ucyI6IHsKICAgICJxdWVyeSI6ICIqIiwKICAgICJj YXRlZ29yaWVzIjogWwogICAgICB7CiAgICAgICAgImNhdGVnb3J5X25hbWUi OiAiQWlyICYgUGFya2luZyIsCiAgICAgICAgImNhdGVnb3J5X2tleSI6IDEx MDksCiAgICAgICAgImxvZ29fdXJsIjogImh0dHBzOi8vc3RhdGljLWRlbW8u YWNjZXNzZGV2ZWxvcG1lbnQuY29tL2ljb25zL3RyYXZlbC5wbmciCiAgICAg IH0KICAgIF0sCiAgICAic3RvcmVzIjogWwogICAgICB7CiAgICAgICAgInN0 b3JlX25hbWUiOiAiSG9saWRheSBJbm4gRXhwcmVzcyIsCiAgICAgICAgInN0 b3JlX2tleSI6IDE4OTg3MjI1LAogICAgICAgICJhY3RpdmVfb2ZmZXJfY291 bnQiOiA0MTQzLAogICAgICAgICJhY3RpdmVfbG9jYXRpb25fY291bnQiOiAy MTI1LAogICAgICAgICJsb2dvX3VybCI6ICJodHRwczovL3N0YXRpYy1kZW1v LmFjY2Vzc2RldmVsb3BtZW50LmNvbS9icmFuZC9lYzZiYTFhZGEwYTAxMGE4 MzQ5OTMxZWM5MGUxYzQ2MjA1NjZlYThjL29yaWdpbmFsLnBuZyIKICAgICAg fQogICAgXSwKICAgICJsb2NhdGlvbnMiOiBbCiAgICAgIHsKICAgICAgICAi bG9jYXRpb25fbmFtZSI6ICJXYWx0IERpc25leSBXb3JsZMKuIFRpY2tldHMi LAogICAgICAgICJsb2NhdGlvbl9rZXkiOiA1MjE3NjE1LAogICAgICAgICJh Y3RpdmVfb2ZmZXJfY291bnQiOiA4NSwKICAgICAgICAibG9nb191cmwiOiAi aHR0cHM6Ly9zdGF0aWMtZGVtby5hY2Nlc3NkZXZlbG9wbWVudC5jb20vYnJh bmQvNDI5ZWM2ZDE3OTk1YzMxYzExNzNiZjQ0OTNkNThmMzQ1MDA1N2Q4Yi9v cmlnaW5hbC5wbmciCiAgICAgIH0KICAgIF0sCiAgICAib2ZmZXJzIjogWwog ICAgICB7CiAgICAgICAgIm9mZmVyX25hbWUiOiAiJDEwIG9mZiBvcmRlcnMg b2YgJDEwMCBvciBtb3JlIG9uIEhvY2tleSBKZXJzZXlzIGFuZCBhcHBhcmVs LiIsCiAgICAgICAgIm9mZmVyX2tleSI6IDEzMjcwMDQ1LAogICAgICAgICJs b2dvX3VybCI6ICJodHRwczovL3N0YXRpYy1kZW1vLmFjY2Vzc2RldmVsb3Bt ZW50LmNvbS9icmFuZC83ZjlmYTZlZGMyMzA4YWU2OTVhYThmNDNiZThjNGFm YTM3ODEyZGZjL29yaWdpbmFsLnBuZyIKICAgICAgfQogICAgXQogIH0KfQ== 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 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: - '"237e68189af825ba2f95093c5f0cba5c"' Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - 2fbf671d-6bf8-475a-b655-7a57d2ddcfd4 X-Runtime: - '0.078779' X-Xss-Protection: - 1; mode=block Content-Length: - '1123' Connection: - keep-alive body: encoding: ASCII-8BIT string: !binary |- ewogICJzdWdnZXN0aW9ucyI6IHsKICAgICJxdWVyeSI6ICIqIiwKICAgICJj YXRlZ29yaWVzIjogWwogICAgICB7CiAgICAgICAgImNhdGVnb3J5X25hbWUi OiAiQWlyICYgUGFya2luZyIsCiAgICAgICAgImNhdGVnb3J5X2tleSI6IDEx MDksCiAgICAgICAgImxvZ29fdXJsIjogImh0dHBzOi8vc3RhdGljLWRlbW8u YWNjZXNzZGV2ZWxvcG1lbnQuY29tL2ljb25zL3RyYXZlbC5wbmciCiAgICAg IH0KICAgIF0sCiAgIC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hYThmNDNiZThjNGFm YTM3ODEyZGZjL29yaWdpbmFsLnBuZyIKICAgICAgfQogICAgXQogIH0KfQ== http_version: recorded_at: Wed, 12 Aug 2015 17:46:44 GMT recorded_with: VCR 2.9.3