diff --git a/templates/shortcodes/howitworks.html b/templates/shortcodes/howitworks.html index efddcaddc..4f02453d5 100644 --- a/templates/shortcodes/howitworks.html +++ b/templates/shortcodes/howitworks.html @@ -31,24 +31,26 @@ curl -XPOST servers which are participating in the room.
 curl –XPOST –H 'Authorization: X-Matrix origin=alice.com,...' –d '{
-    "ts": 1413414391521,
-    "origin": "alice.com",
-    "destination": "bob.com",
-    "pdus": [{
-        "event_id": "$YUwRidLecu:alice.com",
-        "content": {
+  "ts": 1413414391521,
+  "origin": "alice.com",
+  "destination": "bob.com",
+  "pdus": [
+    {
+      "event_id": "$YUwRidLecu:alice.com",
+      "content": {
         "body": "hello world",
         "msgtype": "m.text"
-        },
-        ...
-        "pdu_type": "m.room.message",
-        "signatures": {
+      },
+      ...
+      "pdu_type": "m.room.message",
+      "signatures": {
         "matrix.org": {
-            "ed25519:auto": "jZXTwAH/7EZ..."
+          "ed25519:auto": "jZXTwAH/7EZ..."
         }
-        },
-        "sender": "@alice:alice.com"
-    }]
+      },
+      "sender": "@alice:alice.com"
+    }
+  ]
 }' https://matrix.bob.com:8448/_matrix/federation/v1/send/916d...