MarkdownShare API


Rather than using the website you may also submit text by POSTing your data directly to the creation end-point:

$ curl -H "Accept: application/json" -X POST --data "text=text+goes+here"

Or by reading the contents from a file:

$ curl -H "Accept: application/json" -X POST -F "text=</path/to/"

If you wish to allow a post to expire then add an expire= parameter too:

expire=NExpire in N seconds.
expire=NhExpire in N hours.
expire=NdExpire in N days.

Console Clients

There are many command-line paste-clients out there. If you've got pastebinit installed you can save this file beneath /usr/share/pastebin.d/ and use this site directly:

shelob ~ $ uptime | pastebinit -b