HTTP GET

The ACI API allows custom-built applications to access Micro Focus ACI servers using the following HTTP action syntax:

http://host:port/action=action&parameters

where,

host is the IP address (or name) of the machine on which the Micro Focus ACI server is running.
port is the port number that is used to send actions to the Micro Focus ACI server.
action is the action that you want the Micro Focus ACI server to run.
parameters are the required and optional parameters for the action.

Example:

Consider the following example:

http://localhost:4000/action=query&text=dinosaurs&maxresults=1

This action sends the query text dinosaur to an Micro Focus ACI server (in this case IDOL server), 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>
         <autn:weight>97</autn:weight>
         <autn:links>DINOSAUR</autn:links>
         <autn:database>0</autn:database>
         <autn:title>Studying dinosaurs</autn:title> 
      </autn:hit> 
   </responsedata> 
</autnresponse>