--- http_interactions: - request: method: post uri: https://api-sandbox.getnet.com.br/auth/oauth/v2/token body: encoding: UTF-8 string: grant_type=client_credentials&scope=oob headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Host: - api-sandbox.getnet.com.br Authorization: - Basic NzQ0Mzg4NzctZjAwYi00NTAyLTg0NTQtZGUzZDcxNjZkYzJhOjRlYWM2OTIwLTFiNTctNGNkMS04Nzk5LWQ4NzcxNzNiZmEzNw== Content-Type: - application/x-www-form-urlencoded response: status: code: 200 message: OK headers: Server: - Apache-Coyote/1.1 Pragma: - no-cache Cache-Control: - no-store Strict-Transport-Security: - max-age=15552000; includeSubDomains Preload: - '' Content-Type: - application/json;charset=UTF-8 X-Edgeconnect-Midmile-Rtt: - '9' X-Edgeconnect-Origin-Mex-Latency: - '28' X-Powered-By: - '49660' Vary: - Accept-Encoding Date: - Tue, 06 Apr 2021 17:04:11 GMT Content-Length: - '127' Connection: - keep-alive body: encoding: UTF-8 string: "{\r\n \"access_token\":\"38e87c4a-4047-4791-9745-91313acf4a1a\",\r\n \ \"token_type\":\"Bearer\",\r\n \"expires_in\":3600,\r\n \"scope\":\"oob\"\r\n}" recorded_at: Tue, 06 Apr 2021 17:04:11 GMT - request: method: get uri: https://api-sandbox.getnet.com.br/v1/some_endpoint body: encoding: UTF-8 string: 'null' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Host: - api-sandbox.getnet.com.br Authorization: - Bearer 38e87c4a-4047-4791-9745-91313acf4a1a Content-Type: - application/json Seller-Id: - 67be6e90-00c1-410d-83f5-6d75621effc8 response: status: code: 404 message: Not Found headers: Server: - Apache-Coyote/1.1 Cache-Control: - no-cache Strict-Transport-Security: - max-age=15552000; includeSubDomains Preload: - '' Content-Type: - application/json;charset=utf-8 X-Edgeconnect-Midmile-Rtt: - '8' X-Edgeconnect-Origin-Mex-Latency: - '76' X-Powered-By: - '49661' Vary: - Accept-Encoding Date: - Tue, 06 Apr 2021 17:04:11 GMT Content-Length: - '196' Connection: - keep-alive body: encoding: UTF-8 string: '{"message":"Not Found","name":"GatewayClientError","status_code":404,"details":[{"status":"DENIED","error_code":"GENERIC-404","description":"Not Found","description_detail":"Resource not found"}]}' recorded_at: Tue, 06 Apr 2021 17:04:11 GMT recorded_with: VCR 6.0.0