apiPost method
Returns the body of the given endpoint
in the specified RestAPI after
a POST request. To proper use, specify apiBaseUrl
.
Implementation
Future<String> apiPost(
String endpoint, {
Map<String, String>? headers,
}) async =>
post(apiBaseUrl! + endpoint, headers: headers);