AddLongstring (HttpRequest subroutine)
Add a longstring to POST data for this request (HttpRequest class)
The contents of the passed Longstring become the post data of the request being built. Invoking this method erases any post data previously added by AddXml or AddLongstring method calls. By default, the data is converted from EBCDIC to ASCII; however, this can be turned off.
httpRequest:AddLongstring( string, [xlatFlag])
|httpRequest||A previously defined and instantiated HttpRequest object.|
|string||A Longstring variable.|
|xlatFlag||A numeric expression that, if nonzero, indicates binary data. Setting this option overrides the default behaviour of translating EBCDIC to ASCII.|
- Unlike the AddField method, AddLongstring has no effect on the request content type.