關於網路服務API的問題 - Linux

Table of Contents

想請問大家,如果有人要送資料給我,使用curl --header "Content-Type:
application/json" --request POST --data '{"humidity":30}'
http://localhost:9090

我要如何使用Python去接收這個資料,
以及如果想要多了解這方面的資訊,
需要找哪些相關的書籍,
或有什麼樣的網路資訊跟這個相關的,
感謝大家的幫忙!


--

All Comments

Xanthe avatarXanthe2021-07-26
echo 200 OK | nc -lp 9000
Heather avatarHeather2021-07-29
python 就用 wsgi
Anthony avatarAnthony2021-08-01
小規模單純收 http post 簡單上手就先用 flask
Heather avatarHeather2021-08-04
Python可以用Fastapi來做非常快
Doris avatarDoris2021-08-07
非本版事務
Enid avatarEnid2021-08-10
無視安全直接用BaseHTTPRequestHandler硬幹最快
Enid avatarEnid2021-08-13
nodered?
Aaliyah avatarAaliyah2021-08-16
後端 網路框架