Created
February 1, 2013 02:05
-
-
Save robertcedwards/4688594 to your computer and use it in GitHub Desktop.
Form to control Electric IMP via HTTP IN
This file contains hidden or 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></head> | |
<body> | |
<form action="https://api.electricimp.com/v1/d8a33309dbb0d293/30420cd686f1a2a2" | |
METHOD="post"> | |
<input type="hidden" id="value" name="value" value="1"> | |
<input type="submit" value="Turn Coffee Pot On"> | |
</form> | |
<form action="https://api.electricimp.com/v1/d8a33309dbb0d293/306b487a2ba03bf0 | |
" METHOD="post"> | |
<input type="hidden" id="value" name="value" value="1"> | |
<input type="submit" value="Turn Coffee Pot Off"> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment