API:Client code/Bash

Append text to a page
The file upload example didn't work anymore. I've updated the code and changed it so it can append text to a page. Smile4ever (talk) 10:29, 31 January 2017 (UTC)

Upload a file (outdated example)
The following is an example of how to use Bash (Unix shell) to login and upload a file.

You will need the curl package which you can get with:

Curl will need to write 2 files, one for the cookiejar, and one to store files if you need to upload.

Bash is not very efficient, but it is widely available.

The following example is released into Public Domain.Smallman12q (talk) 00:00, 7 January 2013 (UTC)