Send Actions by Using a GET Method
You can use GET requests to send actions that retrieve information from Named Entity Recognition.
When you send an action using a GET method, you use a URL of the form:
http://host:port/?action=action¶meters
where:
host
|
is the IP address or name of the machine where Named Entity Recognition is installed. |
port
|
is the Named Entity Recognition ACI port. |
action
|
is the name of the action that you want to run. The action (or a ) parameter must be the first parameter in the URL string, directly after the host and port details. |
parameters
|
are the required and optional parameters for the action. These parameters can follow the action parameter in any order. |
You must:
- Separate each parameter from its value with an equals symbol (
=
). - Separate multiple values with a comma (
,
). - Separate each parameter-value pair with an ampersand (
&
).
For more information about the actions that you can use with Named Entity Recognition, refer to the Named Entity Recognition Reference.
GET requests can send only limited amounts of data and cannot send files directly. However, you can set a parameter to a file path if the file is on a file system that Named Entity Recognition can access. Named Entity Recognition must also be able to read the file.