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

ajax-dump update

File: howto/ajax-dump [Diff]

-- a/howto/ajax-dump++ b/howto/ajax-dump
@@ -19,5 +19,18 @@
@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");
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.

By Voker57 on 2010-11-07 12:36:48 +0000