@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 | null>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| url | string | Url to post |
| data | T | The data that should be posted to the url |
Promise<R | null>