The http request

interface Request {
    data?: any;
    headers?: "http".Header;
    params?: Parameter;
    timeout?: number;
}

Properties

data?: any

the body content

headers?: "http".Header

the header content value

params?: Parameter

the url query parameters

timeout?: number

the request timeout, unit: seconds