Last active
August 29, 2015 14:24
-
-
Save piyushrajput/52dd7970df44319a564f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| authorization: OAuth 00DU0000000J83v!AQoAQJkLzYuCPmfyTZ7Mmg.Otq3W6klMTqqXUsTUdfwMtk8BcZJxpNdyCfUmm5.0Psfr8j7xDoNnRuV8u7UtANm.E_ubaXCB | |
| x-chatter-entity-encoding: false | |
| accept: */* | |
| user-agent: Ruby | |
| content-type: multipart/form-data; boundary=-----------RubyMultipartPost | |
| content-length: 34684 | |
| -------------RubyMultipartPost | |
| Content-Disposition: form-data; name="json" | |
| Content-Type: application/json; charset=UTF-8 | |
| Content-Transfer-Encoding: 8bit | |
| {"body":{"messageSegments":[{"text":"this is the body ","type":"text"},{"type":"mention","id":"005U0000000GIQkIAO"}]},"attachment":{"title":"this is the file name","desc":"this is the file description","fileName":"Screen shot 2012-05-19 at 4.11.12 PM.png"}} | |
| -------------RubyMultipartPost | |
| Content-Disposition: form-data; name="feedItemFileUpload"; filename="Screen shot 2012-05-19 at 4.11.12 PM.png" | |
| Content-Type: image/png | |
| Content-Transfer-Encoding: binary | |
| # binary file attachment here | |
| -------------RubyMultipartPost-- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment