also, you are right, i don't understand, the username part
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
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?
Discussion
i made a comment on the nip-34 issue to explain... it's just about "best practices" how to resolve the name so you can write a standard web service that has predictable behaviour