Open topic with navigation

# Send Information over HTTP

HPE Media Server includes an output engine for sending data to a server through an HTTP POST request. The body of the request contains the information produced by the XSL transformation.

To send information over HTTP

1. Create a new configuration to send to HPE Media Server with the `process` action, or open an existing configuration that you want to modify.

2. Add a new output task by setting the `OutputEngineN` parameter. You can give the task any name, for example:

       [Output]
       OutputEngine0=HTTPpost

3. Create a configuration section for the engine by typing the task name inside square brackets. For example:

       [HTTPpost]

4. In the new section, set the following parameters:

   `Type` | The output engine to use. Set this parameter to `httppost`.
   `DestinationURL` | The URL to send the information to. You can include macros in the URL.
   `XSLTemplate` | The path to the XSL template to use to transform records and produce the body of the request.
   `Input` | (Optional) A comma-separated list of the tracks that you want to include in the output. Specify one or more tracks. If you do not set this parameter, the engine includes all tracks that are preset as 'output' tracks. For information about whether a track is considered an 'output' track, refer to documentation for your analysis, encoding, and ESP engines in the HPE Media Server Reference.

5. Configure how to combine records into HTTP requests. For information about how you can combine records, see Choose How to Output Data.

   - To output data in single record mode, set `Mode=SingleRecord`.
   - To output data in time mode, set `Mode=Time` and use the `OutputInterval` parameter to specify the amount of video content represented by each document.
   - To output data in event mode, set `Mode=Event` and use the `EventTrack` parameter to specify the event track.
   - To output data in bounded event mode, set `Mode=BoundedEvent` and use the `EventTrack` parameter to specify the event track.
   - To output data in at-end mode, set `Mode=AtEnd`.
   - To output data in page mode, set `Mode=Page`.

6. Save and close the configuration file. HPE recommends that you save your configuration files in the location specified by the `ConfigDirectory` parameter.

Example

The following is an example configuration to send documents to a CFS over HTTP.

    [HTTPpost]
    Type=httppost
    DestinationURL=http://localhost:7000/action=ingest
    XSLTemplate=./xsl/toCFS.xsl
    Mode=event
    EventTrack=NewsSegment.Result

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm