UNPKG

rest-assured-ts

Version:
20 lines (19 loc) 839 B
export interface IUrlFormOptions { headerOptions?: object; httpMethod?: string; formDataMap?: Map<string, any>; timeOut?: number; } export interface IUrlOptions { headerOptions?: object; httpMethod?: string; inputBody?: string; formFlag?: boolean; timeOut?: number; retry?: number; agent?: any; } export declare function makeHttpRequest(url: string, headerOptions?: object, httpMethod?: string, inputBody?: string, formFlag?: boolean): Promise<any>; export declare function makeHttpRequestWithFormData(url: string, headerOptions?: object, HttpMethod?: string, formDataMap?: Map<string, any>): Promise<any>; export declare function restRequestWithFormData(url: string, options: IUrlFormOptions): Promise<any>; export declare function restRequest(url: string, options: IUrlOptions): Promise<any>;