January 2019
Beginner to intermediate
372 pages
11h 17m
English
The user who needs to verify the existence of the document will invoke the verify implementation endpoint. verify is an HTTP GET method that accepts document digests as query strings and then responds with details regarding the document if it has already been published. By doing it this way, the user can be certain about the document's existence, provided it has already been published in the blockchain.
The value of the digest query string key is passed as an argument to the Proof of Existence library verify method. This will return a list of items if the document digest can be found in the blockchain ledger:
async def verify(self, request): """returns details about verified document""" digest = request.args.get('digest') ...