• JMap.Util.Ajax.get

    Retreives data from the server at the specified resource.

    Parameters

    • config: JRequestConfig

      the request configuration (url, params, accessToken, includeHeadersInResponse)

    Returns Promise<any>

    Example

    JMap.Util.Ajax
    .get({ url: "https://your-url.com" })
    .then(response => console.log(response))
    .catch(error => console.error(error))