loadmill
Version:
A node.js module for running load tests and functional tests on loadmill.com
17 lines (16 loc) • 394 B
TypeScript
export declare const sendHttpRequest: (options: HttpRequestOptions) => Promise<any>;
declare type HttpRequestOptions = {
method?: HttpMethods;
url: string;
token: string;
query?: Record<string, any>;
body?: Record<string, any>;
};
export declare enum HttpMethods {
GET = "get",
POST = "post",
PUT = "put",
DELETE = "delete",
PATCH = "patch"
}
export {};