From 96a05a6401b909d09115b8738e7cc5db0fb6249b Mon Sep 17 00:00:00 2001 From: Julien Fraichot Date: Wed, 16 Sep 2026 16:37:05 +0200 Subject: [PATCH] docs(VerifiablePresentation): update README --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9b493cf..559a58b 100644 --- a/README.md +++ b/README.md @@ -40,13 +40,16 @@ A basic endpoint that gives the verification status of a certificate. ```javascript const verificationStatus = await fetch('http://localhost:9000/credentials/verify', { body: JSON.stringify({ - certificate: blockcerts + verifiableCredential: blockcerts }), method: 'POST', headers: { 'Content-Type': 'application/json' } }).then((res) => res.json()); ``` +The `/presentations/verify` counterpart works the same way, except the payload key is `verifiablePresentation` +instead of `verifiableCredential`. + *Response*: ```json @@ -71,13 +74,16 @@ and their status. ```javascript const verificationStatus = await fetch('http://localhost:9000/credentials/verify/verbose', { body: JSON.stringify({ - certificate: blockcerts + verifiableCredential: blockcerts }), method: 'POST', headers: { 'Content-Type': 'application/json' } }).then((res) => res.json()); ``` +The `/presentations/verify/verbose` counterpart works the same way, except the payload key is `verifiablePresentation` +instead of `verifiableCredential`. + *Response*: ```json