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 data stream and having the MIME type set automatically.
General format
void doPostEx( strUrl, content )
Syntax rules
1.
strUrl is the URL to invoke.
2.
content contains the data stream.
General rules
1.
This method invokes doPostEx(strUrl, type, content) by passing strUrl and content unchanged. type is set to "application/json" or "application/xml" depending on the Content-type request header field. If no Content-type field is available in the request header, then the type is controlled by the iscobol.rest.default_stream configuration setting.

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