mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-08 12:13:34 +02:00
Add description to rdap endpoint
This commit is contained in:
parent
a435eb1f68
commit
d6201fc31f
3 changed files with 3 additions and 10 deletions
|
@ -103,8 +103,7 @@ def available(request, domain=""):
|
|||
@require_http_methods(["GET"])
|
||||
@login_not_required
|
||||
def rdap(request, domain=""):
|
||||
"""TODO: Write description"""
|
||||
Domain = apps.get_model("registrar.Domain")
|
||||
"""Returns JSON dictionary of a domain's RDAP data from Cloudflare API"""
|
||||
domain = request.GET.get("domain", "")
|
||||
|
||||
# If inputted domain doesn't have a TLD, append .gov to it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue