# Use DREADDDATA to Index Data Over a Socket

The `DREADDDATA` index action (case sensitive) allows you to directly index data over a socket into the IDOL Content component.

NOTE: This index action requires a POST request method. For more information, refer to the IDOL Server Administration Guide.

For example:

    http://ContentHost:indexPort/DREADDDATA?OptionalParamsData#DREENDDATAKillDuplicatesOption\n\n

where,

`ContentHost` | is the IP address or host name of the machine on which the IDOL Content component is installed.
`indexPort` | is the indexing port of the IDOL Content component (specified in the `IndexPort` parameter in the `[Server]` section of the IDOL Content component configuration file.
`optionalParams` | are any optional index action parameters. `DREADDDATA` accepts the same optional parameters as the `DREADD` index action, except for `KillDuplicatesOption`.
`Data` | is the content of the IDX or XML document to index. You must add `#DREENDDATA` to the end of your data. You can use gzipped documents, but `#DREENDDATA` must not be compressed. This parameter is required.
`KillDuplicatesOption` | is the option to use for removing duplicate documents.

For details of all the parameters available in the `DREADDDATA` index action, refer to the IDOL Server Reference.

_FT_HTML5_bannerTitle.htm