-
Notifications
You must be signed in to change notification settings - Fork 3
Remote API Key
Claudio Bonesana edited this page May 27, 2021
·
2 revisions
In order to manage remotely the available surveys on the backend, a system of API Key is available. This system starts from an initial Magic key: by using this key it is possible to request or revoke other keys. To change this key, change the environment variable:
MAGIC_API_KEY=<...>
For testing and experiments purpose, it is possible to query the backend service without having a working human-ready client interface. To achieve this in Java, two requirements are needed:
- have a working and reachable
backendservice; - have the
exchangelibrary installed.
The installation of the library can be done using Maven. From the root directory of the project, execute the following command to install the exchange library:
mvn clean install -f AdapQuestExchange
For an example of implementation, check the Tool class.