Type Definitions
-
ClientOptions
-
The options for the base client
Type:
- Object
Properties:
Name Type Description apiURLString -
RequestOptions
-
The options for a request
Type:
- Object
Properties:
Name Type Argument Description urlString The API endpoint to request. methodString <optional>
The HTTP method to use, e.g. GET, POST. Defaults to 'GET'. authenticatedBoolean <optional>
true if requesting an authenticated endpoint. Defaults to false. dataObject <optional>
The request body for the request, if needed.