Checking the API URL
When using the activeCollab API, check that you have received a valid API URL from your users. This is especially useful if you do not know where activeCollab is installed. By inserting the correct API URL, your users can help you identify that.
To check if the value is valid, make a simple GET request that adds the check_if_alive GET parameter (set to 1) then read the response.
Run the following command:
You should get the following XML response:
<?xml version="1.0" encoding="UTF-8" ?> <api_is_alive>yes</api_is_alive>