or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
物聯網 Lab1
物聯網目錄:
猜數字
達成目標
基本功能:
額外功能:
TextBox
為空或不在 1~100 內版面設計
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →程式設計
核心部分:

實際畫面
HTTP POST 文字
達成目標
基本功能:
額外功能:
TextBox
為空Notifier
顯示,可節省重置的按鈕,以確保每次發送都是新的請求版面設計
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →程式設計
由於安卓模擬器無法直接連到
localhost
,需直接透過 IPv4 位址存取,在 cmd 輸入ipconfig
以查看 IP由於透過 Node-RED 作為端點,這邊
web
的url
需對應到 Node-Red 的http-in
,在此設定端點為/hello
:POST
文字需要加上屬性,在此為name
,以便後續 parseNode-RED 拉出以下所示
http-in
:Method 選擇POST
,URL 選擇/hello
,對應Web1
function
:從http-in
得到的內容為 JSON,透過Web1
對應的屬性name
來取得資訊http-response
:將msg
打包回傳debug
:觀察送入的payload
JSONdebug
:檢查回傳的訊息實際畫面