get method

Future get(
  1. String? url
)

Performs an HTTP GET operation, the URL is conditioned and the current database added.

Implementation

Future<dynamic> get(String? url) {
  final url1 = _conditionUrl(url);
  if (url1 == WiltException.noDatabaseSpecified) {
    return _raiseException(WiltException.noDatabaseSpecified);
  }

  // Perform the get
  return _httpRequest('GET', url1);
}