<div class="meta" robots="noindex">

</div>

Method

# HTTPSocket.SetPostContent

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2012r1. Please use `HTTPSocket.SetRequestContent<httpsocket.setrequestcontent>` as a replacement.

</div>

## Description

Sets the content data and content type to be sent to the server for a POST command.

## Compatibility

All project types on all supported operating systems.

## See also

`URLConnection</api/networking/urlconnection>` parent class; `HTTPSocket.SetFormData<httpsocket.setformdata>`
