Date Code 20210715 SEL-2890 Instruction Manual
HTML Code C.5
The following paragraphs describe the use of the Custom HTTP option. Prior HTTP
design familiarity is highly recommended. At a minimum, the user should supplement
the following information with a manual on basic HTTP design.
Forms and CGI Scripts
The server provides one CGI (Common Gateway Interface) interface script for passing
parameters to the connected device. The file relay.cgi is used with a web form to pass
data or commands to a serial device like an SEL relay or communications processor.
Figure C.2 shows example HTML code for a form that passes data through an
SEL-2890.
Figure C.2 Example HTML Code
The form in Figure C.2 uses the POST method with an ACTION option. POST defines
which method is used to return the form information or data to the web server. The
ACTION option defines which CGI script is called when the Submit button is pressed.
Relay.cgi or access.cgi can be used with the SEL-2890 Custom HTTP option.
logo.jpg Custom page7.htm Custom
page1.htm Custom page8.htm Custom
page2.htm Custom page9.htm Custom
page3.htm Custom image3.gif Custom
image1.gif Custom image4.gif Custom
image2.gif Custom image5.gif Custom
image6.jpg Custom image7.jpg Custom
app1.zip Custom image8.jpg Custom
image9.jpg Custom
app2.zip Custom
Table C.2 HTTP Files (Sheet 2 of 2)
Memory Area 1 Memory Area 2