Global Feed Post Login
Replying to Avatar urushi

Mastodon 互換 Nostr Rest API である NostrRest を CloudRun にデプロイした。認証情報に npub を突っ込むと Mastodon っぽいユーザー情報が取得できる。以下はこの Nostr のアカウント情報。

curl --request GET \

--url https://nostr-rest-ervoyfxxqq-an.a.run.app/api/v1/accounts/verify_credentials \

--header 'Authorization: Bearer nostr:npub1wah2gsmn2sup7998yzlrc3mfxlwwwft76yrnu49pjtdun8em0mxq6appzu' \

--header 'Content-Type: application/json'

Avatar
urushi 2y ago

あ、npub を突っ込んだから、返信になってしまった。

Reply to this note

Please Login to reply.

Discussion

No replies yet.