diff --git a/core/src/main/java/google/registry/rdap/UpdateRegistrarRdapBaseUrlsAction.java b/core/src/main/java/google/registry/rdap/UpdateRegistrarRdapBaseUrlsAction.java index aad044037..1529c89f5 100644 --- a/core/src/main/java/google/registry/rdap/UpdateRegistrarRdapBaseUrlsAction.java +++ b/core/src/main/java/google/registry/rdap/UpdateRegistrarRdapBaseUrlsAction.java @@ -57,6 +57,19 @@ import javax.inject.Inject; * a cookie you then send to get the list and finally logout. * *
The username is [TLD]_ry. It could be any "real" TLD. + * + *
For clarity, this is how one would contact this endpoint "manually", from a whitelisted IP + * server: + * + *
$ curl [base]/login -I --user [tld]_ry:[password] + * + *
get the id=xxx value from the reply + * + *
$ curl [base]/registrarRdapBaseUrl/list -b 'id=xxx' + * + *
$ curl [base]/logout -b 'id=xxx' + * + *
where [base] is https://mosapi.icann.org/mosapi/v1/[tld] */ @Action( service = Action.Service.BACKEND,