Testing the Connection
This section:
•GET request to test the connection
•Server response and JSON data structure listing
GET request to test the connection
After RaptorXML Server has been started, test the connection using a GET request. (You can also type this request in the address bar of a browser window.)
http://localhost:8087/v1/version
Note: | The interface and port number of RaptorXML Server is specified in the server configuration file, server_config.xml, which is described in the next section, Server Configuration. |
Server response and JSON data structure listing
If the service is running and the server is correctly configured, the request should never fail. RaptorXML Server will return its version information as a JSON data structure (listing below).
{
"copyright": "Copyright (c) 1998-2013 Altova GmbH. ...",
"name": "Altova RaptorXML+XBRL Server 2013 rel. 2 sp1",
"eula": "https://www.altova.com/server_software_license_agreement.html"
}
Note: | If you modify the server configuration—by editing the server configuration file—you should test the connection again. |