...
query
(string): path within Enreach APIpostData
(object): Object which gets sent as payload to Enreach API in a POST or PUT requestmethod
(string): HTTP method to be used. If specified, overrides the method determined by the existence ofpostData
;
Sends a request to Enreach REST API. Authentication is managed automatically, by adding the token to request header.
If postData
parameter is NULL then a GET request is sent, whereas any object passed here means a POST request. The object passed here is serialized as JSON in the request payload.
If method
(non-mandatory) parameter is specified, it overrides the above logic to determine HTTP method.
Detailed Enreach API documentation can be found here: https://doc.enreachvoice.com/beneapi
...