Created
April 8, 2015 00:49
-
-
Save kurenn/9205589385479d60d409 to your computer and use it in GitHub Desktop.
A simple client for a simple API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<title></title> | |
</head> | |
<body> | |
<form action="http://localhost:3000/tasks.json" method="post"> | |
<label for="">Description</label> | |
<textarea name="task[description]" id="" rows="8" cols="40"></textarea> | |
<br /> | |
<label for="">Due date</label> | |
<input type="date" name="task[due_date]" id="" value="" /> | |
<br /> | |
<label for="">Completed?</label> | |
<input type="checkbox" name="task[complete]" id="" value="1" /> | |
<br /> | |
<input type="submit" name="" id="" value="Guardar" /> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment