作者: hkepcu1 時間: 2017-11-10 12:41 標題: 現在好多 System 都有得 call API
現在好多 System 都有得 call API, 都係用 https 在 browser call 個 API 功能 (要 login)
作者: 梁炳 時間: 2017-11-10 13:12
nodejs, electron
甚至一個html都寫到,你個api要support CORS
作者: hkepcu1 時間: 2017-11-10 13:58
佢可以 call 個 http link 'http://192.168.1.10/rc.cgi?o=1,1' > (prompt up for entering password) > (if password correct, then open the door)
1. 可以唔 prompt up 個 browser?
2. 想做個 icon 在個 PC 的 task bar 上,user 一按個 icon 就可以開到門
作者: 梁炳 時間: 2017-11-10 15:08
html即係要開browser做野囉
double click個html咪開browser, 咁都要問...
想好睇d就寫electron (javascript), 包裝做一個exe檔
點玩都得
作者: GaoMachine 時間: 2017-11-10 16:49
唔用browser 又要出task bar
用C# WebClient 好快寫到
參考:
https://stackoverflow.com/questi ... ebclient-in-c-sharp
不過樓主完全唔似Programmer ,唔知可以幾快喇
都未計加個「簡單」Login ...
作者: hkepcu1 時間: 2017-11-10 17:32
唔用browser 又要出task bar
用C# WebClient 好快寫到
參考:
不過樓主完全唔似Programmer ,唔知可以幾快 ...
GaoMachine 發表於 2017-11-10 04:49 PM
唔用browser 又要出task bar
作者: GaoMachine 時間: 2017-11-10 18:41
回覆 6# hkepcu1
咁仲簡單, 自己 google一下 'curl'
作者: 556556bt 時間: 2017-11-10 19:27
powershell script 都得.
作者: hoki1986 時間: 2017-11-11 10:40
好多SCRIPT都得
作者: hkepcu1 時間: 2017-11-12 21:43
作者: 556556bt 時間: 2017-11-13 01:05
shortcut icon?
作者: hkepcu1 時間: 2017-11-13 10:12
都可以,試下先
