CURL get request in WIN command line returning 401 - Could not authenticate you - code 32


#1

The Below CURL get request is returning 401 - Could not authenticate you - code 32 in Windows command line

curl --get “https://api.twitter.com/1.1/search/tweets.json?q=apple” --header "Authorization: OAuth oauth_consumer_key=“QTVJtyQDWr7VMHGw74Q”, oauth_nonce=“521062569dbaa516def2fc8fcfb1092f”, oauth_signature=“o4pD%2FStn8fGYRPW7j4xHisX%2FNcA%3D”, oauth_signature_method=“HMAC-SHA1”, oauth_timestamp=“1387193877”, oauth_token=“15841928-yKad5Y7BPOIbCsjgaFQV8Bt5F9oYvvUZizxCOn5M”, oauth_token_secret=“azPu9joGvT65dToiwNcL1eu912c2BdpJLDzSwCLWQyQ”, oauth_version=“1.0"” --verbose

RESULT__________________
< HTTP/1.1 401 Unauthorized
< content-length: 63
< content-type: application/json; charset=utf-8
< date: Mon, 16 Dec 2013 12:14:11 UTC

  • Server tfe is not blacklisted
    < server: tfe
    < set-cookie: guest_id=v1%3A138719605152261210; Domain=.twitter.com; Path=/; Exp
    ires=Wed, 16-Dec-2015 12:14:11 UTC
    < strict-transport-security: max-age=631138519
    < x-tfe-logging-1-request-category: API
    < x-tfe-logging-2-request-category: API
    <
    {“errors”:[{“message”:“Could not authenticate you”,“code”:32}]}* Connection #0 t
    o host api.twitter.com left intact