Send A Get Request And A Put Request - Moxa Technologies ioThinx 4510 Series User Manual

Hide thumbs Also See for ioThinx 4510 Series:
Table of Contents

Advertisement

ioThinx 4510 Series
6. Create the following content in the Headers of the GET example tab and PUT example tab.
Content-Type: application/json
Accept: vdn.dac.v2

Send a GET request and a PUT request

RESTful API List Rules
You can check the RESTful API list here: RESTful API Rules.
RESTful API
/api/io/do{ioName}/doStatus
/api/io/do{ioName}/doPulseCount
/api/io/do{ioName}/doPulseOnWidth DO - Pulse mode - ON width (unit 500 µs)
/api/io/do{ioName}/doPulseOffWidth DO - Pulse mode - OFF width (unit 500 µs)
/api/io/do{ioName}/doPulseStatus
The {ioName} is composed of three elements: Module_Name, @, and I/O_Channel_Name. For example, the
{ioName} associated with module name "45MR-2600-0" and DO channel name "DO-00" is 45MR-2600-
0@DO-00.
NOTE
The module and I/O channel name can be changed in Module Settings and I/O Settings.
1. In this demonstration, we change the name of module 45MR-1601 to GET_Demo and the name of
45MR-2600 to PUT_Demo.
2. Change the DI-00 channel name to Button.
Description
DO - status (0: OFF; 1: ON)
DO - Pulse mode - count
DO - Pulse mode - status (0: Stop; 1: Start)
6-9
Tutorials
Access
Format
R/W
0 or 1
R/W
0 to 65535
R/W
1 to 65535
R/W
1 to 65535
R/W
0 or 1

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ioThinx 4510 Series and is the answer not in the manual?

Table of Contents