Created
January 13, 2014 05:27
-
-
Save kenji0x02/8395180 to your computer and use it in GitHub Desktop.
curlでpostは`-d`でデータを指定する。
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
#!/bin/sh | |
curl -d 'mode=warm&temperature=20&windSpeed=1&power=false' localhost:4567/aircon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment