Starting on working bookmarks api
This commit is contained in:
@@ -19,6 +19,16 @@ function Home() {
|
||||
Once you have logged in you should be able to click in{" "}
|
||||
<i>Profile</i> and <i>Logout</i>
|
||||
</p>
|
||||
<p>
|
||||
<form method="POST" action="/api/bookmarks">
|
||||
<label for="title">title: </label>
|
||||
<input type="text" name="title"/>
|
||||
<br />
|
||||
<label for="url">url:</label>
|
||||
<input type="text" name="url"/>
|
||||
<button type="submit">Add bookmark</button>
|
||||
</form>
|
||||
</p>
|
||||
</>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user