UNPKG

simple-requests

Version:

A library for performing simple http(s) requests.

4 lines (3 loc) 208 B
import { IRequestOptions, IResponse } from './interfaces'; export declare const post: <T>(url: string, options?: IRequestOptions | undefined) => Promise<IResponse<Error> | IResponse<T>>; export default post;