Skip to content

Instantly share code, notes, and snippets.

@vincentchu
Created June 2, 2010 20:31
Show Gist options
  • Save vincentchu/422949 to your computer and use it in GitHub Desktop.
Save vincentchu/422949 to your computer and use it in GitHub Desktop.
curl -v -H 'X-Auth-Service-Provider: https://api.twitter.com/1/account/verify_credentials.json'
-H 'X-Verify-Credentials-Authorization: OAuth oauth_nonce="gMfO3YKSNBt5w8s1gQ9TnUQ1Ji219gYFq5VovyC1Y0", oauth_callback="http%3A%2F%2Fposterous.com%2Foauth%2Fcallback", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1273511181", oauth_consumer_key="STWUDG4OpJhxrEnLZ1uQ4g", oauth_token="21465735-lwKdG1iDzWhTFjiCdlddrmcslMNllHZUd5SPY1xMo", oauth_signature="1sYBtfLl%2EBLXkg655gYNLalXOP0%3D", oauth_version="1.0"' -F "key=2b38a676d9b58d1d44da0db832512a1f"
-F "media=@/path/to/some/image.jpg"
-F "message=message" http://posterous.com/api2/upload.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment