Instruction manual
FS-8707-11 Convia XML Manual Page 13 of 16
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: support@fieldserver.com
6.6 Using HTTP-POST to Write Data to the FieldServer
The HTTP-POST command is used to write XML data to the FieldServer Data Arrays. The format of the HTTP
comand is described below.
NAME=data_array_name&OFFSET=offset&VALUE=value
Parameter
Description
Legal Values
Data_Array_Name*
Specify the name of
the Data Array
One of the Data Array names from Data Array section. If not
specified then all Data Arrays will be displayed.
Offset*
Starting location in
Data Array
0 to (Data_Array_Length-1) as specified in Data Array section,
Default 0
Value
Specify the Value to
write
Any floating point or SInt value.
HTTP-POST Command
Typically a web page is used to post commands. An example web page is presented below.
XML Response:
If write succeeded:
<HTML><BODY>Done</BODY></HTML>\n
If write failed:
<HTML><BODY>ERROR:Invalid Parameters for Command </BODY></HTML>\n
<html>
<body>
<form name="input" action="http://192.168.1.5"
method="post">
Data_Array_Name:
<input type="text" name="NAME">
<br/>
Data_Array_Offset:
<input type="text" name="OFFSET">
<br/>
Data_Array_Value:
<input type="text" name="VALUE">
<br/>
<input type="submit" value="Submit">
</form>
</body>
</html>