SCRIP Lua HTTP PROGRACMACION PLC WECON CA

NestorGamez6 25 views 13 slides Apr 25, 2024
Slide 1
Slide 1 of 13
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13

About This Presentation

DOCUMENTO PLC


Slide Content

Lua Script: HTTP and JSON 福州富昌维控电子科技有限公司 FUZHOU FU CHANG WECON ELECTRONICS TECHNOLOGY CO.,LTD Presented by Hunter

Catalog What is HTTP 1 2 What is JSON 3 How to request HTTP

What is HTTP

HTTP HTTP is Hypertext Transfer Protocol

What is JSON

JSON JSON is JavaScript Object Notation Official website: https://www.json.org/json-en.html

How to Request HTTP

Preparation Work Before Request First Step : Find the HTTP API document of server; Second Step : Try to connect with server with a http request tool or others kind of online API explorer according to document instruction; Third Step : Programming in the code; Tool link: https://www.postman.com/

Preparation Work Before Request Create new collection and new request

Preparation Work Before Request Paste into URL bar and click Send

Preparation Work Before Request Check the response result

Instance https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/luahttp.zip

THANK YOU!
Tags