We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As far as I can see this spec doesn't specify response status codes.
For example most LNURLp implementations I've come across return 200 after the call to /.well-known/lnurp/something.
200
/.well-known/lnurp/something
I just found that this one from IBEX:
LNURL1DP68GURN8GHJ76TZV4UXSATZ9E5KYETCD4JHYCMPV3HJUCM0D5HKCMN4WFKZ7URP0YHKJMNKDA5KXEFDWFJHZATFWFJK6ETWW3EN76E385CKGCTRXCENGDPEXQURGCF5XSERWE3KVYMRXWF3VEJRWCMPVESNGVFKXY6XYCMPX4JNZD3NVCUNXDRX8P3K2ER9VCCRVVP5XGCRJEF3E60P6U
Returns 201. Understandable but there should be a clear spec.
201
The text was updated successfully, but these errors were encountered:
The spec is clear on this. The basis of LNURL (LUD-01) says that HTTP codes have no meaning.
Neither status codes or any HTTP Header has any meaning. Servers may use whatever they want. Clients should ignore them
Any client would know how to handle errors anyway because a JSON object with an error should get received.
error
Sorry, something went wrong.
No branches or pull requests
As far as I can see this spec doesn't specify response status codes.
For example most LNURLp implementations I've come across return
200
after the call to/.well-known/lnurp/something
.I just found that this one from IBEX:
LNURL1DP68GURN8GHJ76TZV4UXSATZ9E5KYETCD4JHYCMPV3HJUCM0D5HKCMN4WFKZ7URP0YHKJMNKDA5KXEFDWFJHZATFWFJK6ETWW3EN76E385CKGCTRXCENGDPEXQURGCF5XSERWE3KVYMRXWF3VEJRWCMPVESNGVFKXY6XYCMPX4JNZD3NVCUNXDRX8P3K2ER9VCCRVVP5XGCRJEF3E60P6U
Returns
201
. Understandable but there should be a clear spec.The text was updated successfully, but these errors were encountered: