<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>