From Xojo Documentation

Revision as of 21:11, 27 July 2017 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

HTTPSecureSocket.SetRequestContent(Content as String, ContentType as String)

New in 2012r1

Supported for all project types and targets.

Sets the content data and content type to be sent to the server for any command except HEAD.


If you will be reusing a socket without using the New operator, you must clear this value for requests that do not have content associated with them. For instance, If you do a POST with content followed by a GET that should not have content, you should set the content to an empty string.