Add deletion key reference

This commit is contained in:
Eliot Whalan 2016-06-19 17:55:03 +10:00
parent f1b83223a1
commit 248026b6bc
No known key found for this signature in database
GPG Key ID: C0A42175139840D6
1 changed files with 2 additions and 1 deletions

View File

@ -22,10 +22,11 @@ import (
const (
ADDRESS = "http://localhost:9900"
LENGTH = 6
DELETE = ADDRESS + "/{PASTE}/{DELKEY}"
PASTEARGS = ADDRESS + "/p/{PASTE}/(python|language)\n"
URLARGS = ADDRESS + "/save/XML|JSON\n"
SOURCE = "Source: https://github.com/ewhal/Pastebin\n"
TEXT = "$ <command> | curl -F 'p=<-' " + ADDRESS + "\n" + PASTEARGS + URLARGS + SOURCE
TEXT = "$ <command> | curl -F 'p=<-' " + ADDRESS + "\n" + PASTEARGS + URLARGS + DELETE + SOURCE
PORT = ":9900"
USERNAME = ""
PASS = ""