mirror of https://github.com/codefeathers/magnet
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.
26 lines
536 B
26 lines
536 B
<html>
|
|
|
|
<head>
|
|
<title>⚡ :magnet:</title>
|
|
<link rel="stylesheet" href="/stylesheets/style.css">
|
|
</head>
|
|
|
|
<body>
|
|
<h1>⚡ :magnet:</h1>
|
|
<form action="/api" method="POST">
|
|
<p>URI: <input type="text" name="uri"><br/></p>
|
|
<p>Title (optional): <input type="text" name="title"><br/></p>
|
|
<button type="submit">Create</button>
|
|
</form>
|
|
<hr />
|
|
<p>POST to <code>/api</code> with this request body:
|
|
<pre>
|
|
{
|
|
uri: magnet:?,
|
|
title: 'Awesome magnet links!'
|
|
}
|
|
</pre>
|
|
</p>
|
|
</body>
|
|
|
|
</html>
|
|
|