Tuesday, April 5, 2011

New public API for the proove.it!

URL
http://proove.it/api/upload
Supported request methods
POST
Required Parameters
media - (the raw image data via form file upload)
Output
<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok">
   <mediaid>{MEDIA_ID}</mediaid>
   <mediaurl>http://proove.it/{MEDIA_ID}</mediaurl>
</rsp>
HTML Example

<form enctype="multipart/form-data" action="http://proove.it/api/upload" method="POST">
    Choose an image: <input name="media" type="file" /><br />
    <input type="submit" value="Upload File" />
</form>

No comments:

Post a Comment