URL | PUT {{basepath}}/parkingPageHtml/:document |
---|---|
Category | Redirect |
Allows you to set the default page for the redirect server cluster attached to your project.
Expects a html string in the request body
Returns a DomainParkingPutResponse object.
:document | interstitial |
---|
<html>
<head>
<style>
body{
background-color:#222;
color:white;
}
</style>
<meta http-equiv="refresh"
content="10;URL=[[redirectUrlhtmlentities]]">
</head>
<body>
<h1>[[domain]]</h1>
<marquee direction="right" >You are being redirected to [[redirectUrl]]</marquee>
</body>
</html>
PUT {{basepath}}/parkingPageHtml/:document
<html>
<head>
<style>
body{
background-color:purple;
color:white;
}
</style>
<!--<meta http-equiv="refresh"
content="300;URL=[[redirectUrlhtmlentities]]">-->
</head>
<body>
<h1>[[domain]]</h1>
<marquee direction="right" >You are being redirected to [[redirectUrl]]</marquee>
</body>
</html>
:document | interstitial |
---|
200 OK
{
"responseId": "mapi429_896d634e4dc627df8e3700bd33498c27b8132698",
"status": "ok",
"message": "Html has been stored"
}