got-send-url
Version:
got-send-url is a GOT based HTTP request library for Node.js
14 lines (13 loc) • 313 B
TypeScript
import { Method } from "got";
export interface IGotInput {
url: string;
method: Method;
body?: any;
headers?: Record<string, string>;
retryLimit?: number;
retryDelay?: number;
responseType?: "text" | "json" | "buffer";
useProxyYn?: boolean;
useThrowYn?: boolean;
getAllResponseYn?: boolean;
}