post method
Implementation
Future<http.Response> post(String endpoint,
{bool includeToken = true,
Map<String, dynamic>? body,
Map<String, String>? headers}) async {
Map<String, dynamic>? cleanBody = body != null ? cleanEntity(body) : null;
return http.post(
await getUrl(endUrl: endpoint),
headers: headers ?? getHeaders(includeToken: includeToken),
body: cleanBody != null ? jsonEncode(cleanBody) : null,
);
}