diff --git a/main/index.php b/main/index.php
index 7a7c72d..73f42b1 100644
--- a/main/index.php
+++ b/main/index.php
@@ -48,61 +48,187 @@ try {
Text0Nly
-
-
- Text0Nly
-
-
-
Message API:
-
curl -X POST http://localhost/api.php -H "Content-Type: application/json" -d '{
+
+
+
+
Text0Nly
+
+
+
Message API:
+
curl -X POST http://localhost/api.php -H "Content-Type: application/json" -d '{
"username": "name",
"message": "text",
"signature": "pgp_signature",
"encrypted": true
}'
-
-
-
-
-
-
-
-
= htmlspecialchars($msg['username']) ?>:
-
= nl2br(htmlspecialchars($msg['message'])) ?>
-
-
[Encrypted]
-
-
-
Signature: = htmlspecialchars($msg['signature']) ?>
-
-
= $msg['created_at'] ?>
+
+
+
+
+
+
+
= htmlspecialchars($msg['username']) ?>
+
+
[Encrypted]
+
+
= $msg['created_at'] ?>
+
+
= nl2br(htmlspecialchars($msg['message'])) ?>
+
+
Signature: = htmlspecialchars($msg['signature']) ?>
+
+
+
+