mirror of https://github.com/louislam/uptime-kuma
Matrix token command hint should send JSON (#5990)
Co-authored-by: Otto Richter <otto@codeberg.org>pull/5766/head^2
parent
7c88a38df3
commit
2fd4e1cc72
|
@ -18,7 +18,7 @@
|
||||||
{{ $t("matrixDesc1") }}
|
{{ $t("matrixDesc1") }}
|
||||||
</p>
|
</p>
|
||||||
<i18n-t tag="p" keypath="matrixDesc2" style="margin-top: 8px;">
|
<i18n-t tag="p" keypath="matrixDesc2" style="margin-top: 8px;">
|
||||||
<code>curl -XPOST -d '{"type": "m.login.password", "identifier": {"user": "botusername", "type": "m.id.user"}, "password": "passwordforuser"}' "https://home.server/_matrix/client/v3/login"</code>.
|
<code>curl -XPOST --json '{"type": "m.login.password", "identifier": {"user": "botusername", "type": "m.id.user"}, "password": "passwordforuser"}' "https://home.server/_matrix/client/v3/login"</code>.
|
||||||
</i18n-t>
|
</i18n-t>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue