![]() |
Home | Feedback | Blog | APIs | Developers |
APIs : ZoooS document loading
You can load a document in two ways:
- Submitting a local file
- Pointing to an existing document in the web
Submitting a local file:
You only need to create a multipart upload form which points to "http://www.zooos.com/view" and contains an upload file field with the name"newfile":
<form enctype="multipart/form-data"
method="post" action="http://www.zooos.com/view">
Upload file:
<input name="newfile" type="file">
<input type="submit" name="Submit" value="Submit" />
</form>
Here's what it looks like:
Pointing to a file in the web:
Pointing to a file in the web ist basically the same as uploading a file. The only difference is that the form is not multipart and the input field must have the name "doc":
<form enctype="application/x-www-form-urlencoded" method="get" action="http://www.zooos.com/view">
File:
<input name="doc" type="text">
<input type="submit" name="Submit" value="Submit" />
</form>
Here's how it looks like:
Optional parameters :
Optionally you can add all optional parameters as described in the "ZoooS Link API":
<form enctype="application/x-www-form-urlencoded" method="get" action="http://www.zooos.com/view">
File:
<input name="doc" type="text">
<input type="hidden" name="download" value="false" />
<input type="submit" name="Submit" value="Submit" />
</form>
Copyright © 2007 ZoooS LLC. All rights reserved.
