4 ms·
Wondering, if a function execution will be able to (a) be called from a URL, with inputs `https://wikifunctions.org/to-base-64?input=my%20string https://wikifun
by ngc6677 3y ago
Wondering, if a function execution will be able to (a) be called from a URL, with inputs `https://wikifunctions.org/to-base-64?input=my%20string https://wikifunctions.org/to-base-64?input=my%20string` (b) retrieve the output from the URL `https://wikifunctions.org/tobase-64?output=bXkgc3RyaW5n https://wikifunctions.org/tobase-64?output=bXkgc3RyaW5n`? It could be used directly from the Browser's Omnibox URL address bar, such as with https://searx.be/info/en/search-syntax https://searx.be/info/en/search-syntax, https://duckduckgo.com/bangs https://duckduckgo.com/bangs, https://github.com/internet4000/find https://github.com/internet4000/find
- mormegil 3y agoWell, MediaWiki has a comprehensive API, so yeah, see e.g. https://www.wikifunctions.org/wiki/Special:ApiSandbox#action=wikilambda_function_call&wikilambda_function_call_zobject=%7B%0A%09%22Z1K1%22%3A+%7B%0A%09%09%22Z1K1%22%3A+%22Z9%22%2C%0A%09%09%22Z9K1%22%3A+%22Z7%22%0A%09%7D%2C%0A%09%22Z7K1%22%3A+%22Z802%22%2C%0A%09%22Z802K1%22%3A+%7B%0A%09%09%22Z1K1%22%3A+%7B+%22Z1K1%22%3A+%22Z9%22%2C+%22Z9K1%22%3A+%22Z40%22+%7D%2C%0A%09%09%22Z40K1%22%3A+%7B+%22Z1K1%22%3A+%22Z9%22%2C+%22Z9K1%22%3A+%22Z42%22+%7D%0A%09%7D%2C%0A%09%22Z802K2%22%3A+%7B%0A%09%09%22Z1K1%22%3A+%7B%0A%09%09%09%22Z1K1%22%3A+%22Z9%22%2C%0A%09%09%09%22Z9K1%22%3A+%22Z10%22%0A%09%09%7D%2C%0A%09%09%22Z10K1%22%3A+%7B%0A%09%09%09%22Z1K1%22%3A+%22Z6%22%2C%0A%09%09%09%22Z6K1%22%3A+%22arbitrary+ZObject%22%0A%09%09%7D%2C%0A%09%09%22Z10K2%22%3A+%7B%0A%09%09%09%22Z1K1%22%3A+%7B%0A%09%09%09%09%22Z1K1%22%3A+%22Z9%22%2C%0A%09%09%09%09%22Z9K1%22%3A+%22Z10%22%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%2C%0A%09%22Z802K3%22%3A+%7B%0A%09%09%22Z1K1%22%3A+%7B+%22Z1K1%22%3A+%22Z9%22%2C+%22Z9K1%22%3A+%22Z40%22+%7D%2C%0A%09%09%22Z40K1%22%3A+%7B+%22Z1K1%22%3A+%22Z9%22%2C+%22Z9K1%22%3A+%22Z42%22+%7D%0A%09%7D%0A%7D%0A https://www.wikifunctions.org/wiki/Special:ApiSandbox#action... But I don't think Wikimedia Foundation wants to provide a free-to-all unlimited compute... No idea what the resource limit plans are, etc. But at least now in this early phase, the user rights are very limited, anyway.