@mapgear/geoapps-core > HttpClient > GetJson
HttpClient.GetJson() method
Request a remote resource with XmlHttpRequest GET-method
Signature:GetJson<T>(url: string, params?: object): Promise<T>;
Parameters
Parameter | Type | Description |
---|---|---|
url | string | Url to retrieve |
params | object | (Optional) Query parameters that should be added to the url |
Promise<T>