| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>Simple Pastebin</title> |
| 5 | </head> |
| 6 | <body> |
| 7 | <h1>Simple Pastebin</h1> |
| 8 | <p> |
| 9 | You can paste your text into the text field to submit, or you can |
| 10 | capture the output of a command with: |
| 11 | </p> |
| 12 | <code> |
| 13 | <i>command</i> | curl -i --data-urlencode paste@- localhost:8080 |
| 14 | </code> |
| 15 | <form action="/" method="post"> |
| 16 | <textarea cols="80" rows="15" name="paste"></textarea> |
| 17 | <div> |
| 18 | <button type="submit">Upload your code</button> |
| 19 | </div> |
| 20 | </form> |
| 21 | </body> |
| 22 | </html> |