skip to main content

Appendices : HTTPClient class (com.iscobol.rts.HTTPClient) : Constructor and methods : doPostEx

doPostEx
Executes a HTTP request using POST method specifying the MIME type and data stream
General format
void doPostEx( strUrl, type, content )
Syntax rules
1.
strUrl is the URL to invoke.
2.
type is the MIME type (i.e. "text/xml")
3.
content contains the data stream.
General rules
1.
If content is an appropriate structured variable with external names and type is set to "application/json", the method makes a request using the JSON format.
2.
If content is an appropriate structured variable with external names but type is not set to "application/json", the method makes a request using the XML format.

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