diff --git a/curl.md b/curl.md index c80c47e..0c9fa88 100644 --- a/curl.md +++ b/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=`!!`