stack

Home > @infiniteobjects/core-library-web > Xhr > post

Xhr.post() method

POST a URL

Signature:

static post<T, R = ObjectLike>({ url, data, headers, errorEmitter }: PostParams<R>): Promise<T>;

Parameters

Parameter Type Description
{ url, data, headers, errorEmitter } PostParams<R>  

Returns:

Promise<T>