post method
Performs a HTTP POST operation,, the URL is conditioned and the current database added.
Implementation
Future<dynamic> post(String? url, String data,
[Map<String, String>? headers]) {
final url1 = _conditionUrl(url);
if (url1 == WiltException.noDatabaseSpecified) {
return _raiseException(WiltException.noDatabaseSpecified);
}
// Perform the post
return _httpRequest('POST', url1, data: data, headers: headers);
}