From 20e0fac85b89137562ad4a31b123fc3197f25807 Mon Sep 17 00:00:00 2001 From: Dan Trickey Date: Sat, 6 Jun 2020 16:50:40 +0100 Subject: [PATCH] Use example.com instead of service.com service.com is a real domain name, and could potentially have a real API on api.service.com example.com is specifically reserved by IANA and thus will never have an API on it. It is designated to be used in scenarios like this. See RFC 2606 for more information. --- rest-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest-api.md b/rest-api.md index 1876f42bc..6faaab61d 100644 --- a/rest-api.md +++ b/rest-api.md @@ -48,7 +48,7 @@ You can pass a `version=x` to the Accept request header. [Info here](https://git ### Authentication ``` -curl -is https://$TOKEN@api.service.com/ +curl -is https://$TOKEN@api.example.com/ ``` ### Methods