What is Nostr?
hzrd149 /
npub1ye5…knpr
2024-11-22 04:40:58
in reply to nevent1q…qgu9

hzrd149 on Nostr: Client can and probably will use the "url" field returned from the /upload endpoint ...

Client can and probably will use the "url" field returned from the /upload endpoint when composing kind 1 notes. although the GET /<sha256> serves a different purpose

Take this note for example
Removed 550 more lines of code from #noStrudel

If my main server cdn.hzrd149.com went down or the image was removed from it. clients could lookup my preferred list of blossom servers (kind 10063 event) and start going down the list asking each one for the exact same blob (without needing to know how the server works)

1.
2.

Thats the point of requiring the "GET /<sha256>" endpoint to be in the exact same location on every server. so its super easy for clients to quickly fallback and check other servers
Author Public Key
npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr