Add rest html
[headersdns] / rest.html
diff --git a/rest.html b/rest.html
new file mode 100644 (file)
index 0000000..96337cb
--- /dev/null
+++ b/rest.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html lang="en">
+       <head>
+               <meta charset="utf-8">
+               <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
+               <style type="text/css">
+                       body {
+                               margin:40px auto;
+                               max-width:660px;
+                               line-height:1.6;
+                               font-size:14pt;
+                               color:#444;
+                               padding:0 10px;
+                       }
+                       h1, h2, h3 {
+                               line-height: 1.2;
+                       }
+                       pre {
+                               overflow-x: scroll;
+                       }
+                       pre, .hex {
+                               font-size: 9pt;
+                       }
+                       .hex {
+                               font-family: monospace;
+                               word-break: break-all;
+                       }
+               </style>
+               <title>Anycast Bitcoin REST Endpoint</title>
+       </head>
+       <body>
+               <h2>
+                       This is an Anycast-Cached Bitcoin REST Endpoint
+               </h2>
+               <p>
+               This server provides standard access to a Bitcoin Core REST Endpoint at <a href="/rest/chaininfo.json">/rest/</a>. Note that it is cached, though responses should generally remain in sync with each other, after cache timeouts.
+               </p>
+       </body>
+</html>