v0.1
This commit is contained in:
6
scpt/token.zsh
Executable file
6
scpt/token.zsh
Executable file
@ -0,0 +1,6 @@
|
||||
function token() {
|
||||
url=https://$host/xrpc/com.atproto.server.createSession
|
||||
j=`curl -sL -X POST -H "Content-Type: application/json" -d "{\"identifier\":\"$handle\",\"password\":\"$pass\"}" $url`
|
||||
echo $j
|
||||
echo $j >! $cfg.t
|
||||
}
|
Reference in New Issue
Block a user