You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
2.3 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<html>
<head>
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"
integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay"
crossorigin="anonymous"
/>
<title>JSON Server</title>
<link rel="shortcut icon" href="favicon.ico"><link href="main.css" rel="stylesheet"></head>
<body>
<header>
<div class="container">
<nav>
<ul>
<li class="title">
JSON Server
</li>
<li>
<a href="https://github.com/users/typicode/sponsorship">
<i class="fas fa-heart"></i>GitHub赞助商
</a>
</li>
<li>
<a href="https://my-json-server.typicode.com">
<i class="fas fa-burn"></i>远程
</a>
</li>
<li>
<a href="https://thanks.typicode.com">
<i class="far fa-laugh"></i>支持者
</a>
</li>
</ul>
</nav>
</div>
</header>
<main>
<div class="container">
<h1>恭喜!</h1>
<p>
您成功运行了JSON服务器
<br />
✧*。٩(ˊᗜˋ*)و✧*。
</p>
<div id="resources"></div>
<p>
要访问和修改资源您可以使用HTTP方法:
</p>
<p>
<code>GET[获取资源]</code>
<code>POST[新建资源]</code>
<code>PUT[全量更新资源]</code>
<code>PATCH[局部更新资源]</code>
<code>DELETE[删除资源]</code>
<code>OPTIONS</code>
</p>
<p>
<a href="http://www.ruanyifeng.com/blog/2014/05/restful_api.html" target="_blank">RESTful API 设计指南</a>
</p>
<div id="custom-routes"></div>
<h1>文档</h1>
<p>
<a href="https://github.com/typicode/json-server">
README
</a>
</p>
</div>
</main>
<footer>
<div class="container">
<p>
若要替换此页,请创建
<code>./public/index.html</code> 文件.
</p>
<p>此页面为已创建覆盖页面</p>
</div>
</footer>
<script type="text/javascript" src="main.js"></script></body>
</html>