doc: add stylesheets and contents to body
This commit is contained in:
1 parent
8ac37b3d9c
commit
b8257e788e
1 file changed
+27
-1
+27
-1
@@ -5,6 +5,32 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>COVID19 API - Docs</title>
|
||||
<link rel="stylesheet" href="styles.css" />
|
||||
</head>
|
||||
<body></body>
|
||||
<body>
|
||||
<section class="container">
|
||||
<header>
|
||||
<h1>COVID19 API v1 Documentation</h1>
|
||||
</header>
|
||||
<p class="description">
|
||||
This is the COVID19 API, which
|
||||
<span class="bold"
|
||||
>utilizes the third-party API from
|
||||
<a href="https://www.tianapi.com" target="_blank">TianAPI</a> and
|
||||
<a href="https://www.wapi.cn" target="_blank">WAPI</a>.</span
|
||||
>
|
||||
</p>
|
||||
<h4>Important details:</h4>
|
||||
<ul>
|
||||
<li>No need to use CORS proxy or API key</li>
|
||||
<li>Only GET requests are allowed</li>
|
||||
</ul>
|
||||
|
||||
<section class="divider"></section>
|
||||
|
||||
<h2>GET</h2>
|
||||
<p class="description">Returns the data from a specific endpoints</p>
|
||||
<p>Path: <code>https://covid-server-neon.vercel.app/api</code></p>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user