Keyword |
Description |
Choices |
Notes |
URL |
URL (e.g., www.google.com) |
Path name |
Required, Positional 1 |
METHOD |
HTTP Method (POST or GET) |
POST, GET, PUT, HEAD, DELETE |
Optional, Positional 2 |
PAGE |
Page (e.g., /OrderStatus.rest) |
Path name |
Optional, Positional 3 |
HTTPHEADER |
HTTP Header and Value pairs |
Single values: *STMF Other values (up to 32 repetitions): Element list |
Optional, Positional 4 |
Element 1: Header name |
Path name, *CONTENTTYPE, *CONTENTLEN, *CT, *CL |
Element 2: Header value |
Path name, *CALC, *FORM, *JSON, *XML, *XHTML, *PDF, *TEXT |
REQDATA |
Request Data |
Character value, *STMF |
Optional, Positional 5 |
HDRSTMF |
HTTP Headers file or member |
Path name, *NONE |
Optional, Positional 6 |
REQSTMF |
Request Data file or member |
Path name, *NONE |
Optional, Positional 7 |
OUTSTMF |
Output file (results) |
Path name, *NONE |
Optional, Positional 8 |
STMFOPT |
Replace or add to output file |
*REPLACE, *ADD |
Optional, Positional 9 |