Brian of London on Nostr: I just spent 30 mins trying to figure out why my http://v4v.app doesn't work with ...
I just spent 30 mins trying to figure out why my http://v4v.app doesn't work with this LNURLp and I found it.
The LNURL spec DOESN'T specify response codes, IBEX returns 201 (created) which is fine but my code was looking specifically for 200 (which pretty much everyone else uses). Fault is in my code.
I’m just going through now and changing a whole lot of checks for == 200 to >=200 and < 300. I know you love hearing about this stuff… as usual, you broke something 🤣😆🤣😆
But the LNURL spec is also poorly written too. 🏃♂️✂️
dave (npub1pvd…9r3u)
The LNURL spec DOESN'T specify response codes, IBEX returns 201 (created) which is fine but my code was looking specifically for 200 (which pretty much everyone else uses). Fault is in my code.
I’m just going through now and changing a whole lot of checks for == 200 to >=200 and < 300. I know you love hearing about this stuff… as usual, you broke something 🤣😆🤣😆
But the LNURL spec is also poorly written too. 🏃♂️✂️
dave (npub1pvd…9r3u)