Pastebin

Check-in [408d88b84d]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix curl command in man page
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 408d88b84de835c4d16791d46b27710525cba531ba51b47909439bb798eaac3b
User & Date: jef 2019-11-15 08:41:17
Context
2019-11-15
08:58
Fix typo in pastebin-client check-in: 7d31c96320 user: jef tags: trunk
08:41
Fix curl command in man page check-in: 408d88b84d user: jef tags: trunk
2019-11-11
09:23
Improve Makefile to be more generic check-in: 4d98de1cbf user: jef tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to pastebin.1.

90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
The pastebin can be used from a web browser:
.Pp
.Dl $ firefox https://domain.test/pastebin
.Pp
or from the command line:
.Pp
.Bd -literal -offset indent
$ curl https://domain.test/pastebin < image.jpg
https://domain.test/pastebin/1bbe793662
.Ed
.Sh ADMIN API
Pastebin provide a small API to manage pastes.
.Ss <pasteurl>/api/list
List pastes in JSON format.
.Pp







|







90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
The pastebin can be used from a web browser:
.Pp
.Dl $ firefox https://domain.test/pastebin
.Pp
or from the command line:
.Pp
.Bd -literal -offset indent
$ curl -F 'data=<-' https://domain.test/pastebin < image.jpg
https://domain.test/pastebin/1bbe793662
.Ed
.Sh ADMIN API
Pastebin provide a small API to manage pastes.
.Ss <pasteurl>/api/list
List pastes in JSON format.
.Pp

Changes to pastebin.1.txt.

89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
USAGE
     The pastebin can be used from a web browser:

           $ firefox https://domain.test/pastebin

     or from the command line:

           $ curl https://domain.test/pastebin < image.jpg
           https://domain.test/pastebin/1bbe793662

ADMIN API
     Pastebin provide a small API to manage pastes.

   <pasteurl>/api/list
     List pastes in JSON format.







|







89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
USAGE
     The pastebin can be used from a web browser:

           $ firefox https://domain.test/pastebin

     or from the command line:

           $ curl -F 'data=<-' https://domain.test/pastebin < image.jpg
           https://domain.test/pastebin/1bbe793662

ADMIN API
     Pastebin provide a small API to manage pastes.

   <pasteurl>/api/list
     List pastes in JSON format.