|
@@ -0,0 +1,76 @@
|
|
|
+---
|
|
|
+http_interactions:
|
|
|
+- request:
|
|
|
+ method: post
|
|
|
+ uri: https://api.twitter.com/oauth/request_token
|
|
|
+ body:
|
|
|
+ encoding: UTF-8
|
|
|
+ string: ''
|
|
|
+ headers:
|
|
|
+ Accept-Encoding:
|
|
|
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
|
+ Accept:
|
|
|
+ - "*/*"
|
|
|
+ User-Agent:
|
|
|
+ - OAuth gem v0.5.4
|
|
|
+ Content-Length:
|
|
|
+ - '0'
|
|
|
+ Authorization:
|
|
|
+ - OAuth oauth_callback="http%3A%2F%2Fzammad.example.com%2Fapi%2Fv1%2Fexternal_credentials%2Ftwitter%2Fcallback",
|
|
|
+ oauth_consumer_key="some_key", oauth_nonce="IagNJMosiC5LrtN0bNIcGkctrIWJejAhI1PA9DKFA8",
|
|
|
+ oauth_signature="2f6IrVntUDtz9UOJ159p%2FF1NWWs%3D", oauth_signature_method="HMAC-SHA1",
|
|
|
+ oauth_timestamp="1573544688", oauth_version="1.0"
|
|
|
+ response:
|
|
|
+ status:
|
|
|
+ code: 401
|
|
|
+ message: Authorization Required
|
|
|
+ headers:
|
|
|
+ Cache-Control:
|
|
|
+ - no-cache, no-store, must-revalidate, pre-check=0, post-check=0
|
|
|
+ Content-Disposition:
|
|
|
+ - attachment; filename=json.json
|
|
|
+ Content-Length:
|
|
|
+ - '89'
|
|
|
+ Content-Type:
|
|
|
+ - application/json; charset=utf-8
|
|
|
+ Date:
|
|
|
+ - Tue, 12 Nov 2019 07:44:49 GMT
|
|
|
+ Expires:
|
|
|
+ - Tue, 31 Mar 1981 05:00:00 GMT
|
|
|
+ Last-Modified:
|
|
|
+ - Tue, 12 Nov 2019 07:44:49 GMT
|
|
|
+ Pragma:
|
|
|
+ - no-cache
|
|
|
+ Server:
|
|
|
+ - tsa_m
|
|
|
+ Set-Cookie:
|
|
|
+ - guest_id=v1%3A157354468916670365; Max-Age=63072000; Expires=Thu, 11 Nov 2021
|
|
|
+ 07:44:49 GMT; Path=/; Domain=.twitter.com
|
|
|
+ - personalization_id="v1_1vmi2r8RoFgMCL+SgD77bw=="; Max-Age=63072000; Expires=Thu,
|
|
|
+ 11 Nov 2021 07:44:49 GMT; Path=/; Domain=.twitter.com
|
|
|
+ Status:
|
|
|
+ - 401 Unauthorized
|
|
|
+ Strict-Transport-Security:
|
|
|
+ - max-age=631138519
|
|
|
+ Www-Authenticate:
|
|
|
+ - OAuth realm="https://api.twitter.com"
|
|
|
+ X-Connection-Hash:
|
|
|
+ - bf220064d30e7c53def04cd0401bedd9
|
|
|
+ X-Content-Type-Options:
|
|
|
+ - nosniff
|
|
|
+ X-Frame-Options:
|
|
|
+ - SAMEORIGIN
|
|
|
+ X-Response-Time:
|
|
|
+ - '103'
|
|
|
+ X-Transaction:
|
|
|
+ - '0080644900ce1d14'
|
|
|
+ X-Twitter-Response-Tags:
|
|
|
+ - BouncerCompliant
|
|
|
+ X-Xss-Protection:
|
|
|
+ - '0'
|
|
|
+ body:
|
|
|
+ encoding: ASCII-8BIT
|
|
|
+ string: '{"errors":[{"code":32,"message":"Could not authenticate you."}]}'
|
|
|
+ http_version:
|
|
|
+ recorded_at: Tue, 12 Nov 2019 07:44:49 GMT
|
|
|
+recorded_with: VCR 4.0.0
|