HTTPSocket.SetRequestContent
From Xojo Documentation
Method
HTTPSocket.SetRequestContent(Content as String, ContentType as String)
Supported for all project types and targets.
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.
Notes
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.
Example
Set request content: