summary refs log tree commit diff stats
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/tmpl/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/assets/tmpl/index.html b/assets/tmpl/index.html
index a1fe1ab..a8f7484 100644
--- a/assets/tmpl/index.html
+++ b/assets/tmpl/index.html
@@ -36,7 +36,7 @@ foo_barrington    https://example3.com/twtxt.txt    2019-05-01T15:59:39.000Z</co
 foo_barrington    https://example3.com/twtxt.txt    2019-04-30T06:00:09.000Z    I just built getwtxt, time to set it up!</code></pre>
           <p>Query by mention:</p>
         <pre><code>$ curl '{{.URL}}/api/plain/mentions?url=https://foobarrington.co.uk/twtxt.txt'
-foo    https://example.com/twtxt.txt    2019-02-26T11:06:44.000Z    @<foo_barrington https://example3.com/twtxt.txt> Hey!! Are you still working on that project?</code></pre>
+foo    https://example.com/twtxt.txt    2019-02-26T11:06:44.000Z    @&lt;foo_barrington https://example3.com/twtxt.txt&gt; Hey!! Are you still working on that project?</code></pre>
           <p>Query by tag:</p>
         <pre><code>$ curl '{{.URL}}/api/plain/tags/programming'
 foo    https://example.com/twtxt.txt    2019-03-01T09:31:02.000Z    I love #programming!</code></pre>
@@ -48,16 +48,16 @@ foobar    https://example2.com/twtxt.txt    2019-05-13T12:46:20.000Z    It's bee
         <pre><code>$ curl '{{.URL}}/api/plain/users'
 foo_barrington    https://example3.com/twtxt.txt    2018-11-21T18:31:00.000Z
 ...</code></pre>
-          <p>Add new user:</p>
-        <pre><code>$ curl -X POST '{{.URL}}/api/plain/users?url=https://example3.com/twtxt.txt&nickname=foo_barrington'
-OK</code></pre>
+        <p>Add new user by submitting a <code>POST</code> request. If both variables are not used, or the user already exists in this registry, the server will respond with <code>400 Bad Request</code></p>
+        <pre><code>$ curl -X POST '{{.URL}}/api/plain/users?url=https://example3.com/twtxt.txt&amp;nickname=foo_barrington'
+200 OK</code></pre>
     </div>
     <div id="info">
     Instance Owner: {{.Owner}}<br />
     Mail: {{.Mail}}<br />
     </div>
     <div id="foot">
-      powered by <a href="https://github.com/gbmor/getwtxt">getwtxt</a>
+      powered by <a href="https://github.com/getwtxt/getwtxt">getwtxt</a>
     </div>
   </div>
 </body>
an class='oid'>fd9bde6 ^
514a170 ^
48668b0 ^
b554dc0 ^
5a117ad ^
514a170 ^


61266c6 ^

514a170 ^


61266c6 ^
48668b0 ^
48668b0 ^
674e049 ^


c3648a0 ^

88fb73a ^











ac04e42 ^


144369a ^
ac04e42 ^

144369a ^


fd9bde6 ^
48668b0 ^
















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116