Browse Source

Forgot a word

Brendan Abolivier 6 years ago
parent
commit
fee8d57f3e
Signed by: Brendan Abolivier <contact@brendanabolivier.com> GPG key ID: 8EF1500759F70623
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      content/enter-the-matrix.md

+ 1
- 1
content/enter-the-matrix.md View File

@@ -244,7 +244,7 @@ Now let's try to send our own state event in the room, shall we? I order to do t
244 244
 
245 245
 The body for our request is the event's content object.
246 246
 
247
-Let's create a `tld.project.foo` event with `bar` as its state key, and `{"baz": "qux"}` as its content. To achieve that, let's send a `PUT` request to `/_matrix/client/r0/rooms/!RtZiWTovChPysCUIgn:matrix.project.tld/state/tld.project.foo/bar?access_token=olic0yeVa1pore2Kie4Wohsh` (from which I've stripped the protocol scheme and FQDN so it doesn't appear too in the post) with the fillowing content:
247
+Let's create a `tld.project.foo` event with `bar` as its state key, and `{"baz": "qux"}` as its content. To achieve that, let's send a `PUT` request to `/_matrix/client/r0/rooms/!RtZiWTovChPysCUIgn:matrix.project.tld/state/tld.project.foo/bar?access_token=olic0yeVa1pore2Kie4Wohsh` (from which I've stripped the protocol scheme and FQDN so it doesn't appear too long in the post) with the fillowing content:
248 248
 
249 249
 {{< highlight json >}}
250 250
 {