ACI API 25.4
ACI API Programming Guide

# HTTP POST

The ACI API allows custom-built applications to access OpenText ACI servers using the following HTTP action syntax to post the body to `host:port`.

    action=action
    parameter1=parameter_value
    parameter2=parameter_value

NOTE: is a CRLF combination or a CR.

where,

`host` | is the IP address (or name) of the machine on which the OpenText ACI server is running.
`port` | is the port number that is used to send actions to the OpenText ACI server.
`action` | is the action that you want the OpenText ACI server to run.
`parameterN` | is the name of a required or optional parameter for the action.
`parameter_value` | is the associated parameter value.

## Example:

Consider the following example that posts the following body to `localhost:4000`:

    action=query
    querytext=dinosaurs
    maxresults=1

This action sends the query text `dinosaur` to an ACI server (in this case a Content component), which in response returns an XML result, for example:

    <?xml version="1.0" encoding="UTF-8" ?>
    <autnresponse>
    <action>QUERY</action>
    <response>SUCCESS</response>
    <responsedata>
       <autn:numhits>1</autn:numhits>
       <autn:hit>
          <autn:reference>
            http://c.moreover.com/click/here.pl?z16358245&z=28
          </autn:reference>
          <autn:id>101927</autn:id>
          <autn:section>0</autn:section>
          <weight>97</weight>
          <links>DINOSAUR</links>
          <database>0</database>
          <autn:title>Studying dinosaurs</autn:title>
       </autn:hit>
    </responsedata>
    </autnresponse>

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery ACI API 25.4

Topic Title: HTTP POST