All API calls need to be sent to
http://localhost:14265 (if you are using the standard port) via a POST HTTP request. The data which will be sent is a JSON object which follows the same standard schema of:
Additional parameters are simply added as additional key-value pairs. If the command is successfully executed, your requested information is returned as either an object or a stringified object (use
json.parse or equivalent to turn it into an object).
When making a request, make sure that the HTTP library you're using defines the
Content-Length of the data to be sent. If this is not done automatically, manually add it via a header field e.g.