Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.

Previous page Next page


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The HTTP API allows receiving data in xml format for further processing in scripts. To send a file, perform a POST request as follows:

https://127.0.0.1:8081/intellect_core/Any

<tag1>

    <tag2>some_data</tag2>
    <tag3>another_data</tag3>

</tag1>

Note.

Any set of valid characters can be specified instead of "Any" at the end of the command, except for "Event" and "React", for example:

https://127.0.0.1:8081/intellect_core

https://127.0.0.1:8081/intellect_core/Any

https://127.0.0.1:8081/intellect_core/Custom

After receiving the data in xml format in Intellect, the following event is generated:

HTTP|1|CUSTOM_EVENT|url</intellect_core/Any>,owner<SLAVE-ID>,data<PG5..90ZT4=>

The event has the parameters:

  • data – request body (i.e. the above xml) base64-encoded.
  • url – part of the posted url.
  • No labels