Skip to main content
100%

Gist 66c6fc93b6a8bc4bcfc82bcb4649cc11

✓ Published0🌍 Public
CCarlos-Augusto
Last edited Oct 31, 2021
Created on Oct 27, 2021

This example demonstrates how to submit a digitally signed health certificate (HC1) to the UVE verification API using a client-side certificate for authentication. The code sends a POST request to the `https://api.uve.demo.ubirch.com/api/uve/v1/verify` endpoint, including the PFX file and passphrase in the `agentOptions` of the request library. It logs the resulting error, HTTP response, and response body to the console. The example uses the Node.js `request` module and the built-in `fs` library to read the certificate file.

AI-generated description

Similar vizzes