• JMap.Util.Ajax.put

    Inserts or replaces data on the server at the specified resource.

    Parameters

    • config: JRequestConfig

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

    Returns Promise<any>

    Example

    JMap.Util.Ajax
    .put({ url: "https://your-url.com", params: { title: "My title", count: 3 }})
    .then(response => console.log(response))
    .catch(error => console.error(error))