skip to main content

Appendices : HTTPData.Params class (com.iscobol.rts.HTTPData.Params) : Constructor and methods : add

add
Adds an alphanumeric plain-text parameter.
General format
void add ( paramName, paramValue )
Syntax rules
1.
paramName is an alphanumeric data item that specifies the parameter name.
2.
paramValue is an alphanumeric data item that specifies the parameter value.
Example
To define parameters:
77 city-zipCode pic x(7value "26456".
  set params = http-param:>new()
                         :>add("get_Zip_Code", city-zipCode).

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left