Created
June 20, 2011 21:57
-
-
Save IndiceeCoder/1036696 to your computer and use it in GitHub Desktop.
account avatar upload
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
GET /api/accounts/avatar/upload.xml HTTP/1.1 | |
Authorization: OAuth xxxxxxx | |
Host: secure.indicee.com | |
Content-Type: multipart/form-data; boundary=---------------------------1943271658572509961781198890 | |
Content-Length: 121727 -----------------------------1943271658572509961781198890 | |
Content-Disposition: form-data; name="file"; filename="filter.gif" Content-Type: image/gif | |
.... | |
-----------------------------1943271658572509961781198890-- |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<account> | |
<id>1472669360</id> | |
<image>63b5eb18-6afa-4d3a-b979-0e500105982f.jpg</image> | |
</account> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment