From 5f12b92d402040859d2495ef651c59f115c270aa Mon Sep 17 00:00:00 2001 From: Pritimay Sarkar Date: Mon, 19 Feb 2024 12:46:23 +0530 Subject: [PATCH] client cericficate download --- api/client_certificate.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 api/client_certificate.sh diff --git a/api/client_certificate.sh b/api/client_certificate.sh new file mode 100644 index 0000000..2da6cdd --- /dev/null +++ b/api/client_certificate.sh @@ -0,0 +1,4 @@ +curl --location 'https://datacollection.micropcr.com/api/deviceService/device/getClientCertificate' \ +-o cert.zip \ +--header 'Content-Type: application/json' \ +--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjQxLCJkZXZpY2VJZCI6NDMsInVzZXJuYW1lIjoiSFBQMS05OTk5LTAwMDMiLCJpYXQiOjE3MDcxMjcxODUsImV4cCI6MTcwNzIxMzU4NX0.nZPWnEZNUPzJCt9LvnfZM26QuZ5ERSgmKGHsEnaZnhU'