apiCall method
Implementation
Future<Response> apiCall(NetworkState state) async {
Uri finalEndpoint = endpoint(state.https, getFinalEndpoint(url, state));
print("DELETE $finalEndpoint");
return await delete(
finalEndpoint,
headers: headers(state),
);
}