postAjax function

Future<Response> postAjax(
  1. Uri url, {
  2. List<int>? data,
  3. String? body,
  4. Map<String, String>? headers,
  5. Duration? timeout,
})

Sends an Ajax request to the given url using the POST method.

Implementation

Future<http.Response> postAjax(Uri url, {
    List<int>? data, String? body, Map<String, String>? headers,
    Duration? timeout})
=> ajax(url, method: "POST", data: data, body: body,
    headers: headers, timeout: timeout);