Skip to main content

@mapgear/geoapps-core > HttpClient > PostJson

HttpClient.PostJson() method

Send a payload to the remote resource

Signature:
PostJson<T, R>(url: string, data: T): Promise<R>;

Parameters

ParameterTypeDescription
urlstringUrl to post
dataTThe data that should be posted to the url
Returns:

Promise<R>