Diff: [root] @ 0aa7ab06aa7 | faq | css

ajax-dump update

File: howto/ajax-dump [Diff]

diff --git a/howto/ajax-dump b/howto/ajax-dump
index 12d50d9..b760795 100644
-- a/howto/ajax-dump
++ b/howto/ajax-dump
@@ -19,4 +19,17 @@ This returns either an empty string (if file isn't uploaded yet or token doesn't
@gentoken@ and @gettoken@ are also available in JS format, just append "?format=js" to URI:

bc. % curl http://dump.bitcheese.net/gentoken?format=js
callback("nuxyzud<...>umonuso");
\ No newline at end of file
uploader.callback("nuxyzud<...>umonuso");

bc. % curl http://dump.bitcheese.net/gettoken/nuxyzud<...>umonuso?format=js
uploader.callback("images/uwegyra/font.png", {
"url":"http://dump.localhost/images/uwegyra/font.png/preview",
"name":"font.png",
"size":1186,
"file":"http://dump.localhost/images/uwegyra/font.png",
"pixelsize":[164,36],
"thumbsize":[400,88],
"thumb":"http://dump.localhost/images/uwegyra/thumb/font.png"
});

Fields should be self-descriptive.
\ No newline at end of file

By Voker57 on 2010-11-07 15:36:48 +0300 Powered by bitcheese wiki engine