读取某变量的值(wget
wget --quiet --method GET --header 'Connection: keep-alive' --header 'Cache-Control: max-age=0' --header 'Upgrade-Insecure-Requests: 1' --header 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8' --header 'Accept-Encoding: gzip, deflate, br' --header 'Accept-Language: zh-CN,zh;q=0.9' --header 'cache-control: no-cache' --header 'Postman-Token: 6ca9fd70-0d72-4c86-ba32-0daeb4749ca8' --output-document - 'http://127.0.0.1:39321/iotgateway/read?ids=Channel1.Device1.tag1,Channel1.Device1.tag2'
读取某变量的值(httpie
http GET 'http://127.0.0.1:39321/iotgateway/read?ids=Channel1.Device1.tag1,Channel1.Device1.tag2' Accept:'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8' Accept-Encoding:'gzip, deflate, br' Accept-Language:'zh-CN,zh;q=0.9' Cache-Control:max-age=0 Connection:keep-alive Postman-Token:1431e9b2-b51b-469b-a5e5-ad9c0c58dd59 Upgrade-Insecure-Requests:1 User-Agent:'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36' cache-control:no-cache
读取某变量的值(curl
curl --request GET --url 'http://127.0.0.1:39321/iotgateway/read?ids=Channel1.Device1.tag1,Channel1.Device1.tag2' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8' --header 'Accept-Encoding: gzip, deflate, br' --header 'Accept-Language: zh-CN,zh;q=0.9' --header 'Cache-Control: max-age=0' --header 'Connection: keep-alive' --header 'Postman-Token: 85851f90-8df5-4b05-bdf4-bdee4b2b5d0f' --header 'Upgrade-Insecure-Requests: 1' --header 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36' --header 'cache-control: no-cache'
列出所有变量(wget
wget --quiet --method GET --header 'Connection: keep-alive' --header 'Cache-Control: max-age=0' --header 'Upgrade-Insecure-Requests: 1' --header 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8' --header 'Accept-Encoding: gzip, deflate, br' --header 'Accept-Language: zh-CN,zh;q=0.9' --header 'cache-control: no-cache' --header 'Postman-Token: 74f858aa-2039-405b-ab89-4fcf128aa5c2' --output-document - http://127.0.0.1:39321/iotgateway/browse
列出所有变量的值(httpie
http GET http://127.0.0.1:39321/iotgateway/browse Accept:'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8' Accept-Encoding:'gzip, deflate, br' Accept-Language:'zh-CN,zh;q=0.9' Cache-Control:max-age=0 Connection:keep-alive Postman-Token:360df280-51a6-4b57-8b62-22a25dda551c Upgrade-Insecure-Requests:1 User-Agent:'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36' cache-control:no-cache
列出所有变量的值(curl
curl --request GET --url http://127.0.0.1:39321/iotgateway/browse --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8' --header 'Accept-Encoding: gzip, deflate, br' --header 'Accept-Language: zh-CN,zh;q=0.9' --header 'Cache-Control: max-age=0' --header 'Connection: keep-alive' --header 'Postman-Token: b44f601b-63e2-4959-972c-88ca3c9b4b18' --header 'Upgrade-Insecure-Requests: 1' --header 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36' --header 'cache-control: no-cache'