Skip to main content
POST
Create a new paste from form data
curl --request POST \
  --url https://api.example.com/ \
  --header 'App-Password: <api-key>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'Device-Code: <device-code>' \
  --data 'val=<string>'
{
  "error": "<string>",
  "status": 1
}

Authorizations

App-Password
string
header
required

Headers

Device-Code
string
required

8-character alphanumeric device identifier

Body

application/x-www-form-urlencoded
val
string
required

Paste content

Response

Redirect to the created paste URL