urlshortener/views/index.html

34 lines
944 B
HTML
Raw Normal View History

2017-02-18 19:57:45 +01:00
<!DOCTYPE html>
<html>
<head>
<title>URL Shortener</title>
2020-09-14 11:24:04 +02:00
<link
rel="shortcut icon"
href="https://cdn.hyperdev.com/us-east-1%3A52a203ff-088b-420f-81be-45bf559d01b1%2Ffavicon.ico"
type="image/x-icon"
/>
<link href="/public/style.css" rel="stylesheet" type="text/css" />
</head>
2017-02-18 19:57:45 +01:00
<body>
2020-09-18 10:45:36 +02:00
<h1>API Project: URL Shortener Microservice</h1>
<main>
<section>
<h2>Short URL Creation</h2>
<form action="api/shorturl/new" method="POST">
<fieldset>
<legend>URL Shortener</legend>
<label for="url_input">URL:</label>
<input id="url_input" type="text" name="url" value="https://www.freecodecamp.org" />
<input type="submit" value="POST URL" />
</fieldset>
</form>
</section>
</main>
<footer>
<p>By <a href="https://www.freecodecamp.org">freeCodeCamp</a></p>
2020-09-18 10:45:36 +02:00
</footer>
</body>
</html>