• JMap.Util.Ajax.post

    Inserts or updates 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
    .post({ url: "https://your-url.com", params: { title: "My title", count: 3 }})
    .then(response => console.log(response))
    .catch(error => console.error(error))