UNPKG

webex-teams-api-wrapper

Version:
38 lines 1 kB
export default class Request { /** * Sending GET request to the endpoint * * @param endpoint the endpoint * @param params payload */ static get(endpoint: string, body?: any): Promise<any>; /** * Sending POST request to the endpoint * * @param endpoint the endpoint * @param body payload */ static post(endpoint: string, body: any): Promise<any>; /** * Sending DELETE request to the endpoint * * @param endpoint the endpoint */ static delete(endpoint: string): Promise<any>; /** * Sending PUT request to the endpoint * * @param endpoint the endpoint * @param body payload */ static put(endpoint: string, body: any): Promise<any>; /** * Sending the request * * @param method The request method * @param url The URL * @param body payload */ private static send; } //# sourceMappingURL=Request.d.ts.map