Static Function
Arguments
path: The relative path of the endpoint. If this is parameterized, the parameters appear in the form:id.parameters: An object with the parameters of the request. These get added to the URL by the library.method: The HTTP method.data: The data of the request. Could be a JSON body or an object with the query string properties for the request.headers: Any additional headers to set.
Returns
An axios promise with the request.
Effect
This method is used internally by the library to call the various methods derived from the description.json file. It doesn’t do any validation of either the request or response, and assumes the server will take care of that.