--- 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: - Fri, 11 Sep 2015 20:33:11 GMT Etag: - '"ceaac61ada104fb3d5265c68cd22dbbc"' Server: - nginx/1.6.2 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - 3d0a0d8c-ff1a-4fec-9338-8a32722094c7 X-Runtime: - '0.048761' X-Xss-Protection: - 1; mode=block Content-Length: - '1095' Connection: - keep-alive body: encoding: ASCII-8BIT string: !binary |- ewogICJzdWdnZXN0aW9ucyI6IHsKICAgICJxdWVyeSI6ICIqIiwKICAgICJj YXRlZ29yaWVzIjogWwogICAgICB7CiAgICAgICAgImNhdGVnb3J5X25hbWUi OiAiQXBwYXJlbCAmIEFjY2Vzc29yaWVzIiwKICAgICAgICAiY2F0ZWdvcnlf a2V5IjogMTA3NywKICAgICAgICAibG9nb191cmwiOiAiaHR0cHM6Ly9zdGF0 aWMtZGVtby5hY2Nlc3NkZXZlbG9wbWVudC5jb20vaWNvbnMvc2hvcHBpbmcu cG5nIgogICAgICB9CiAgICBdLAogICAgIn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ICAg ICB9CiAgICBdCiAgfQp9 http_version: recorded_at: Fri, 11 Sep 2015 20:33:11 GMT recorded_with: VCR 2.9.3