logo

不知道openmv是否含有urllib模块,或者跟request相关的函数?

2019-01-08 15:25
Q
librazxc

我看micropython有urllib模块,不知道openmv是否含有urllib模块,或者跟request相关的函数?

2019-01-08 15:35
I
网红小智智 星瞳科技

http://book.openmv.cc/example/14-WiFi-Shield/tcp-client.html

用Wi-Fi扩展板就可以联网get http.

https://singtown.com/product/619/openmv-wifi-shield/

2019-01-08 16:35
Q
librazxc

谢谢,就是想用wifi实现连接公网。本来的代码实在PC上用python写的,代码包含urllib,现在OpenMV没有包括,想着怎么等效替换

2019-01-10 08:07
Q
librazxc

我知道扩展版有get http,我想咨询的是能否实现post http?

2019-01-11 15:03
I
网红小智智 星瞳科技

get和post实际上只是协议头不一样。

https://cn.bing.com/search?q=get+post+%E5%8D%8F%E8%AE%AE%E5%A4%B4&qs=n&form=QBLHCN&sp=-1&pq=get+post+%E5%8D%8F%E8%AE%AE%E5%A4%B4&sc=0-12&sk=&cvid=1BE377E3469F466BA396FBF4944C132D