POST
https://api.zilore.com/dns/v1/domains/{domain_name}/web_forwarding
Parameter |
Description |
---|---|
domain_name |
Domain name. Must conform to the standard. Names of national domains must be passed in Punycode format. |
https |
Protocol:
|
code |
Address redirection status code 301 or 302 |
destination |
Full URL (without protocol) to which redirection is to take place |
Parameter |
Description |
---|---|
source |
Subdomain of the current domain (the domain name value of the current domain will be added to source). If it is not passed, the redirection will be created for the domain name itself |
Parameter |
Description |
---|---|
wf_address_id |
Identifier of new web address redirection |
POST https://api.zilore.com/dns/v1/domains/example.com/web_forwarding
X-Auth-Key: 6fac94db-691b-ec08-d22c-00000b7c06c0
Content-Type: application/x-www-form-urlencoded
source=test&destination=othersite.com&https=0&code=302