rewrite

Add a new Rewrite rule

post/rewrite/add

Request

  • Base URL
    /control (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP basic

Request body

domainstring

Domain name

answerstring

value of A, AAAA or CNAME DNS record

Example request

{
  "answer": "127.0.0.1",
  "domain": "example.org"
}

Response

OK.

Changes

No recorded changes to this operation across all 2 revisions of this API.