Upload LAN Program Editing File
# Upload LAN Program Editing File
Path:
/api/setprogramjson/*
Method: POST
Content-type: multipart/binary
API Description: This can be used to upload the editing file for LAN program. If the file already exists, the newly uploaded one will cover the old one.
Request
If it's necessary to verify the md5 of the file, the key of the request header should be "jsonMd5". The VALUE represents the md5 of the file. The verification result is returned via the response code, in which "201" indicates successful verification, while "400" indicates a failure.
Example
http://192.168.42.129/api/setprogramjson/program1.vsn (The request body is binary. You should select the files to be uploaded.)
The relative path of the editing file is: ./program1.files/program1.json