Skip to content

GET /api/publicKey

GET
/api/publicKey

get the server public key, used to sign responses

Responses

Samples

cURL
curl -X GET http://localhost/api/publicKey
JavaScript
fetch("http://localhost/api/publicKey")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/publicKey");
Python
import requests
response = requests.get("http://localhost/api/publicKey")
print(response.json())
Powered by VitePress OpenAPI