Skip to content

Commit d573f77

Browse files
README: Use https URLs for API testing (#230)
1 parent 035a219 commit d573f77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ You may want to test that acme-dns is working before using it for real queries.
206206

207207
2) Call the `/register` API endpoint to register a test domain:
208208
```
209-
$ curl -X POST http://auth.example.org/register
209+
$ curl -X POST https://auth.example.org/register
210210
{"username":"eabcdb41-d89f-4580-826f-3e62e9755ef2","password":"pbAXVjlIOE01xbut7YnAbkhMQIkcwoHO0ek2j4Q0","fulldomain":"d420c923-bbd7-4056-ab64-c3ca54c9b3cf.auth.example.org","subdomain":"d420c923-bbd7-4056-ab64-c3ca54c9b3cf","allowfrom":[]}
211211
```
212212

@@ -216,7 +216,7 @@ $ curl -X POST \
216216
-H "X-Api-User: eabcdb41-d89f-4580-826f-3e62e9755ef2" \
217217
-H "X-Api-Key: pbAXVjlIOE01xbut7YnAbkhMQIkcwoHO0ek2j4Q0" \
218218
-d '{"subdomain": "d420c923-bbd7-4056-ab64-c3ca54c9b3cf", "txt": "___validation_token_received_from_the_ca___"}' \
219-
http://auth.example.org/update
219+
https://auth.example.org/update
220220
```
221221

222222
Note: The `txt` field must be exactly 43 characters long, otherwise acme-dns will reject it

0 commit comments

Comments
 (0)