Skip to content

Instantly share code, notes, and snippets.

@bonnieking
Created April 20, 2013 21:54
Show Gist options
  • Save bonnieking/5427575 to your computer and use it in GitHub Desktop.
Save bonnieking/5427575 to your computer and use it in GitHub Desktop.
beagle tweet
File found, taking pic
debug: stacheMessage = {"tweet":"New BeagleStache captured!","filename":"/home/root/stache/tmp/captured003.jpg"}
info: stacheMessage = {"tweet":"New BeagleStache captured!","filename":"/home/root/stache/tmp/captured003.jpg"}
info: LED on
info: contents.length = 278
info: --0.ed429920.3836aa6d
Content-Disposition: form-data; name="status"
New #BeagleBone BeagleStache image captured! @BeagleBoardOrg
--0.ed429920.3836aa6d
Content-Disposition: file; name="media[]"; filename="/home/root/stache/tmp/captured003.jpg"
Content-Type: image/jpeg
info: data.length = 26084
info: footer.length = 27
info:
--0.ed429920.3836aa6d--
info: multipartBody.length = 26389
info: index = 0
info: index = 278
info: index = 26362
info: options = {"host":"upload.twitter.com","path":"/1/statuses/update_with_media.json","port":443,"method":"POST","headers":{"Authorization":"OAuth oauth_consumer_key=\"7e1lBZqKNTuKGDhAx49XSw\",oauth_nonce=\"pgMC1buIYsq7JjDiQunGTNgxTLzH8CAU\",oauth_signature_method=\"HMAC-SHA1\",oauth_timestamp=\"1366494823\",oauth_version=\"1.0\",oauth_signature=\"vz7Yx7wWVUiPJjBTX38dqEENqB0%3D\"","Content-Type":"multipart/form-data; boundary=0.ed429920.3836aa6d","Host":"upload.twitter.com","Content-Length":26389,"Connection":"Keep-Alive"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment