From 8715209259a7c76c4679d0f9a837e0ea0f36869f Mon Sep 17 00:00:00 2001 From: syui Date: Fri, 18 Oct 2024 17:39:24 +0000 Subject: [PATCH] =?UTF-8?q?curl=20=E3=82=92=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- curl.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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=`!!`