AutoHotkey Pastebin Developer API (v0.3) -------------------------------------------------- The following must be sent to this URI as either POST (preferred), GET or COOKIE methods: - "useragent": the name and version of your program (e.g. "autopaster v2") - "apivers": the version of the api to use - "method": can be either "create" or "delete": > for "create": - "text": the actual text to save on the pastebin. This must only be UTF-8 text and below 63KiB in length; - "expire": number of days between 1 and 7 to keep the stored text on the database; > for "delete: - "id" - the paste number as indicated in its URL Applications must ensure that input is valid - this means spam, binary code, non UTF-8 encoding and >63KiB of data should be rejected before it is ever to reach the server. The default expiry value should be set to 3. In response, an absolute link to the pastebin entry will be returned. If there was an error, the output would be "ERROR" followed by some additional details.