Mini‑Paste API

Create a paste

https://varialbe.xyz/paste/api.php?password=SECRET (HTTP POST, JSON body)

{
  "content": "Hello World"
}

Success 200 OK

{
  "id": "a1b2c3",
  "url": "https://varialbe.xyz/paste/view.php?id=a1b2c3",
  "raw": "https://varialbe.xyz/paste/raw.php?id=a1b2c3"
}

Get a paste (JSON)

https://varialbe.xyz/paste/api.php?password=SECRET&id=a1b2c3

Returns JSON with content and creation timestamp.

Get raw text

https://varialbe.xyz/paste/api.php?password=SECRET&id=a1b2c3&raw=1

Returns only the raw text (JSON‑safe).

Happy pasting! 🤙