From dd98c9a0c8a7b79ba9455c69d1f79c87b530ef8c Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Thu, 22 Nov 2018 11:13:58 +0000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 120b7ee..270580b 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Status: alpha - proof of concept ## How does it work? 1. On the first request a Lightning invoice is created and th `402 Payment Required` HTTP status code is returend -with a `application/vnd.lightning.bolt11` header and a Lightning invoice as a body. +with a `application/vnd.lightning.bolt11` content type header and a Lightning invoice as a body. 2. Once the client has paid the invoice it does a second request providing the proof of payment / the preimage of the Lightning payment in a `X-Preimage` header. The middleware checks the if the invoice was paid and continues with the rack app stack