Testing the Connection

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Server APIs: HTTP REST, COM/.NET, Java > HTTP REST Client Interface > Server Setup >

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+XBRL 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+XBRL 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+XBRL 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": "http://www.altova.com/server_software_license_agreement.html"

}

 

 

Note:If you modify the server configurationby editing the server configuration fileyou should test the connection again.

 


© 2019 Altova GmbH