This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| sysadminery:matrix [2024/04/02 15:36] – [curl as client] adam | sysadminery:matrix [2026/03/27 07:05] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | hold this real quick: https:// | ||
| + | |||
| ====== register new user ====== | ====== register new user ====== | ||
| Line 18: | Line 20: | ||
| we're going to do the same to glue the password in. | we're going to do the same to glue the password in. | ||
| - | username doesn' | + | username doesn' |
| < | < | ||
| Line 26: | Line 28: | ||
| </ | </ | ||
| that' | that' | ||
| + | |||
| + | now for extra fun: get yourself '' | ||
| + | |||
| + | < | ||
| + | pw=' | ||
| + | username=' | ||
| + | echo $pw | ||
| + | token=$(curl -XPOST -d ' | ||
| + | echo $token | ||
| + | </ | ||
| + | |||
| < | < | ||
| curl -XPOST \ | curl -XPOST \ | ||
| Line 31: | Line 44: | ||
| " | " | ||
| </ | </ | ||
| + | |||