FAQ/API Documentation/Media Resources

Upload

Lockerz Admin
posted this on November 28, 2010 05:57 pm

Use this call to upload a photo.

URL

<API_Endpoint>/upload2

HTTP Method

GET

Formats

JSON, XML

Authenticated

Yes

Input

N/A

Contents

N/A

Output

TweetPhotoResponse

Parameters

MimeType (required), Message, Tags, AlbumId, IsProfileImage, Rotate

Error Codes

N/A

Notes

N/A

Example

curl -X POST http://api.plixi.com/api/tpapi.svc/upload2 -u mlinenweber+26@gmail.com:password -H "TPSERVICE:Plixi" -H "TPAPIKEY:4C49020A-2462-496E-BF61-2F305A7A076E" -H"TPMIMETYPE:image/jpg" --data-binary @"C:\Users\Public\Pictures\Sample Pictures\Koala.jpg"

 
Topic is closed for comments