curl を更新
parent
5e2cd776f5
commit
8715209259
4
curl.md
4
curl.md
@ -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=`!!`
|
||||
|
Loading…
Reference in New Issue
Block a user