diff --git a/01.md b/01.md index 28bbc07..a455fc7 100644 --- a/01.md +++ b/01.md @@ -35,6 +35,10 @@ Once `LNURL` is decoded: Neither status codes or any HTTP Header has any meaning. Servers may use whatever they want. Clients should ignore them (and be careful when using libraries that treat responses differently based on headers and status codes) and just parse the response body as JSON, then interpret it accordingly. +## CORS Browser Compatibility + +Application endpoints (or their defined Reverse Proxy directives) accessed when using the LNURL must respond to `GET` having set the header `Access-Control-Allow-Origin: *` for LNURL's to work with browser-based wallets, services and other webapps. If they set the `Access-Control-Allow-Methods` header, they must set in such a way that `GET` requests are permitted. + ## Decoding examples In Scala: