From c28ffca1bb1c52709a63ecc72baa158f4cce3c6c Mon Sep 17 00:00:00 2001 From: syui Date: Wed, 17 Sep 2025 06:36:08 +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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/curl.md b/curl.md index 59b06ba..e49acc2 100644 --- a/curl.md +++ b/curl.md @@ -390,6 +390,14 @@ fi ## profileの更新 +```sh +curl -X POST \ + -H "Authorization: Bearer $ACCESS_TOKEN" \ + -H "Content-Type: image/jpeg" \ + --data-binary @image.jpg \ + "$PDS_URL/xrpc/com.atproto.repo.uploadBlob" +``` + ```sh did=did:plc:vzsvtbtbnwn22xjqhcu3vd6y handle=syui.syui.ai