instagram-graph-api
Version:
A library to help perform requests to the Instagram Graph API.
21 lines (20 loc) • 440 B
TypeScript
import { Params } from './Params';
/**
* Type to represent request methods.
*
* @author Tiago Grosso <tiagogrosso99@gmail.com>
* @since 0.2.0
*/
export declare type Method = 'GET' | 'POST' | 'DELETE';
/**
* Interface to represent request configs.
*
* @author Tiago Grosso <tiagogrosso99@gmail.com>
* @since 0.1.0
*/
export interface RequestConfig {
method: Method;
url: string;
params: Params;
baseURL?: string;
}