ai/at
ai/at
1
0

curl を更新

syui 2024-10-18 17:39:24 +00:00
parent 5e2cd776f5
commit 8715209259

@ -42,9 +42,9 @@ curl -X POST -H "Content-Type: application/json" -d $json -sL $url
# session
host=syu.is
handle=ai.syu.is
pass=xxx
password=xxx
url=https://${host}/xrpc/com.atproto.server.createSession
curl -sL -X POST -H "Content-Type: application/json" -d "{\"identifier\":\"$handle\",\"password\":\"$pass\"}" $url
curl -sL -X POST -H "Content-Type: application/json" -d "{\"identifier\":\"$handle\",\"password\":\"$password\"}" $url
# refresh
j=`!!`