精易论坛

标题: 求大神写一个火山PC用PUT访问网络的例子 [打印本页]

作者: wsnd1478    时间: 2024-6-1 11:16
标题: 求大神写一个火山PC用PUT访问网络的例子
提交地址 = "http://192.168.2.44/ISAPI/System/Video/inputs/channels/1/overlays"
请求头.添加请求头 ("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36")
请求头.添加请求头 ("Referer", "http://192.168.2.44/doc/page/config.asp")

  提交的数据 : '''<?xml version: "1.0" encoding="utf-8"?><VideoOverlay><normalizedScreenSize><normalizedScreenWidth>704</normalizedScreenWidth><normalizedScreenHeight>576</normalizedScreenHeight></normalizedScreenSize><attribute><transparent>false</transparent><flashing>false</flashing></attribute><fontSize>adaptive</fontSize><frontColorMode>customize</frontColorMode><frontColor>f00000</frontColor><alignment>allLeft</alignment><leftRightboundary>1</leftRightboundary><upDownboundary>2</upDownboundary><TextOverlayList><TextOverlay><id>1</id><enabled>true</enabled><alignment>1</alignment><positionX>0</positionX><positionY>480</positionY>'''
用户名 admin
密码 admin

作者: qq793359277    时间: 2024-6-1 13:36
<火山程序 类型 = "通常" 版本 = 1 />

变量 winhttp <类型 = WinHttp程序>
winhttp.网页访问 ("http://xxxx", WinHttp访问方式.PUT, , , , , , , , , , , , , , , , )

作者: wsnd1478    时间: 2024-6-1 18:24
qq793359277 发表于 2024-6-1 13:36
变量 winhttp
winhttp.网页访问 ("http://xxxx", WinHttp访问方式.PUT, , , , , , , , , , , , , , , ,  ...

能有个具体点例子吗
作者: qq793359277    时间: 2024-6-1 18:34
wsnd1478 发表于 2024-6-1 18:24
能有个具体点例子吗

跟易语言一样




欢迎光临 精易论坛 (https://125.confly.eu.org/) Powered by Discuz! X3.4