summaryrefslogtreecommitdiffhomepage
path: root/views/index.dt
diff options
context:
space:
mode:
Diffstat (limited to 'views/index.dt')
-rw-r--r--views/index.dt41
1 files changed, 0 insertions, 41 deletions
diff --git a/views/index.dt b/views/index.dt
deleted file mode 100644
index 1049f1c..0000000
--- a/views/index.dt
+++ /dev/null
@@ -1,41 +0,0 @@
-extends layout
-
-block content
- h1 Burning Rubber Paste
- h2 Usage
- table(border='1')
- thead: tr
- th Method - Endpoint
- th Effect
- tbody
- tr
- td: pre: code POST / data=foo
- td Pastebin foo
- tr
- td: pre: code PUT /id data=foo
- td Write foo into /id. Collisions disallowed. If a POST id coincides with your PUT content, it will be overwritten.
- tr
- td: pre: code GET /id
- td Read paste with ID "id"
- tr
- 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/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',
- required, autofocus,
- cols='80', rows='27')
- br
- button(type='submit') Paste it!
-
-//- vim: ft=pug