--- http_interactions: - request: method: get uri: https://api.iextrading.com/1.0/stock/MSFT/chart/1d?badOption=option&chartInterval=10 body: encoding: US-ASCII string: '' headers: User-Agent: - Faraday v0.15.2 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 400 message: Bad Request headers: Server: - nginx Date: - Fri, 27 Jul 2018 00:59:53 GMT Content-Type: - application/json; charset=utf-8 Content-Length: - '40' Connection: - keep-alive Set-Cookie: - ctoken=cd9863332b4546a4a6b8f0a9550e7030; Domain=.iextrading.com; Path=/; Expires=Fri, 27 Jul 2018 12:59:53 GMT; Secure Content-Security-Policy: - default-src 'self'; child-src 'none'; object-src 'none'; style-src 'self' 'unsafe-inline'; font-src data:; frame-src 'self'; connect-src 'self' https://auth.iextrading.com https://api.iextrading.com https://api.iextrading.com wss://iextrading.com wss://tops.iextrading.com wss://api.iextrading.com wss://iextrading.com; script-src 'self' 'unsafe-inline' 'unsafe-eval'; X-Content-Security-Policy: - default-src 'self'; child-src 'none'; object-src 'none'; style-src 'self' 'unsafe-inline'; font-src data:; frame-src 'self'; connect-src 'self' https://auth.iextrading.com https://api.iextrading.com https://api.iextrading.com wss://iextrading.com wss://tops.iextrading.com wss://api.iextrading.com wss://iextrading.com; script-src 'self' 'unsafe-inline' 'unsafe-eval'; Frame-Options: - SAMEORIGIN X-Frame-Options: - SAMEORIGIN Strict-Transport-Security: - max-age=15768000 Access-Control-Allow-Origin: - "*" Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Methods: - GET, OPTIONS Access-Control-Allow-Headers: - Origin, X-Requested-With, Content-Type, Accept body: encoding: UTF-8 string: '{"error":"\"badOption\" is not allowed"}' http_version: recorded_at: Fri, 27 Jul 2018 00:59:53 GMT recorded_with: VCR 4.0.0