postRequest method
Implementation
Future<String> postRequest({
required String path,
required String data,
}) async {
final url = Uri.https(_authority, path);
final response = await super.post(url, body: data);
_checkStatusCode(response.statusCode);
return response.body;
}