What is Nostr?
mleku
npub1fjq…leku
2024-12-20 20:07:21
in reply to nevent1q…hkd9

mleku on Nostr: ok, but how does the "username" go into the req, it's a field in the header, or is it ...

ok, but how does the "username" go into the req, it's a field in the header, or is it part of the resolved path, or...

everything else is fine, just where does the username come into it

the https://example.com/.well_known/nostr.json is the URL

if we trim off that path to the json file we get

https://example.com/

but you want to use the username, so how do we specify that in the HTTP request, is it a header field, or is it an implicit path, or what?
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku