diff options
author | KatolaZ <katolaz@freaknet.org> | 2017-07-08 07:54:47 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2017-07-08 07:54:47 +0100 |
commit | 9d4d7bfa1ff4d2c4bae95c06350d28e655e56195 (patch) | |
tree | 8c3fe50f2144af772ff3da1a7861028bad94a16c /README.md | |
parent | a6a9f827dee9c98c70aee5bd51f7f7d16f3b8368 (diff) |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -38,6 +38,23 @@ through the option `-c <config_file>`. If no config file is specified, pastes will be trimmed to that length.) * log_file (path to the logfile) +As with other pastebin-like services, you can send a paste to `binnit` +using `curl`. For instance, if your `binnit` server is running on +`http://servername.net`, you can paste a file there using: + + + curl -F 'paste=<myfile' http://servername.net + + +and obtain on output the ID associated to the newly created +paste. Similarly + + mylongcommand | curl -F 'paste=<-' http://servername.net + +will paste the output of `mylongcommand` to `http://servername.net`, +and show on output the ID of the new paste. + + ## Why another pastebin? There are hundreds of pastebin-like servers in the wild. But the |