diff options
Diffstat (limited to 'views/index.dt')
| -rw-r--r-- | views/index.dt | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/views/index.dt b/views/index.dt index e0c91f4..1049f1c 100644 --- a/views/index.dt +++ b/views/index.dt @@ -18,19 +18,18 @@ block content td: pre: code GET /id td Read paste with ID "id" tr - td: pre: code GET /id?lang - td Read paste with ID "id", and highlight it as "lang" - tr - td: pre: code GET /raw/id + td: pre: code GET /id/raw td Get the raw contents of paste with ID "id" + tr + td: pre: code GET /id/lang + td Read paste with ID "id", and highlight it as "lang" h2 Examples pre: code(class='language-sh') | http -f https://brpaste.example.com data=@file.txt | http -f https://brpaste.example.com data=abcd | http -f PUT https://brpaste.example.com/myPaste data=contents - | http https://brpaste.example.com/raw/some_id - | http https://brpaste.example.com/some_id lang==cpp - | xdg-open https://brpaste.example.com/some_id?cpp + | http https://brpaste.example.com/some_id/raw + | xdg-open https://brpaste.example.com/some_id/cpp h2 Paste from a browser form(action='/', method='post') textarea(name='data', autocomplete='off', |
