Create Paste
Create Paste
PUT
/
api
/paste
/create
Request Body
multipart/form-data
RequiredadminPassword
string
The admin password for the paste. Used for editing/deleting the paste.
file
Requiredfile
The file code you want to upload.
Format:
"binary"
language
string
The languange of the code.
Value in:
"apex" | "azcli" | "bat" | "c" | "clojure" | "coffeescript" | "cpp" | "csharp" | "css" | "dockerfile" | "fsharp" | "go" | "graphql" | "handlebars" | "html" | "ini" | "java" | "javascript" | "json" | "kotlin" | "less" | "lua" | "markdown" | "msdax" | "mysql" | "objectivec" | "pascal" | "perl" | "pgsql" | "php" | "plaintext" | "postiats" | "powerquery" | "powershell" | "pug" | "python" | "r" | "Razor" | "Redis" | "Redshift" | "Ruby" | "Rust" | "sb" | "scheme" | "scss" | "shell" | "sol" | "sql" | "st" | "swift" | "tcl" | "typescript" | "vb" | "xml" | "yml"
Paste Created