From d573f771a876808ebb00abb063e6ae06701aa274 Mon Sep 17 00:00:00 2001 From: Peter Lebbing Date: Mon, 11 Jan 2021 13:50:48 +0100 Subject: [PATCH] README: Use https URLs for API testing (#230) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c3d954d..ea346bc 100644 --- a/README.md +++ b/README.md @@ -206,7 +206,7 @@ You may want to test that acme-dns is working before using it for real queries. 2) Call the `/register` API endpoint to register a test domain: ``` -$ curl -X POST http://auth.example.org/register +$ curl -X POST https://auth.example.org/register {"username":"eabcdb41-d89f-4580-826f-3e62e9755ef2","password":"pbAXVjlIOE01xbut7YnAbkhMQIkcwoHO0ek2j4Q0","fulldomain":"d420c923-bbd7-4056-ab64-c3ca54c9b3cf.auth.example.org","subdomain":"d420c923-bbd7-4056-ab64-c3ca54c9b3cf","allowfrom":[]} ``` @@ -216,7 +216,7 @@ $ curl -X POST \ -H "X-Api-User: eabcdb41-d89f-4580-826f-3e62e9755ef2" \ -H "X-Api-Key: pbAXVjlIOE01xbut7YnAbkhMQIkcwoHO0ek2j4Q0" \ -d '{"subdomain": "d420c923-bbd7-4056-ab64-c3ca54c9b3cf", "txt": "___validation_token_received_from_the_ca___"}' \ - http://auth.example.org/update + https://auth.example.org/update ``` Note: The `txt` field must be exactly 43 characters long, otherwise acme-dns will reject it