By default, all REST queries follow to the local address:
The invocations of REST methods look as follows then:
and so on.
This happens because the appKey=defaultApp parameter is sent when connection to the WCS server, and the default app for this key is this URL:
To change these settings, enter to the command line interface of the WCS server core via SSH:
This command creates a new URL,, and assigns this URL for usage if a client sent the appKey=’myAppKey’ during connection.
By default, server application is created without any REST methods, then methods should be added to application with the following command (connect for example):
%add app-rest-method MyAppKey connect
If backend server will handle all possible REST methods, then all methods should be added with the following command:
%add app-rest-method -a MyAppKey