post method
Make a POST request to a specific path with some data
Implementation
Future<T> post(String path, dynamic item) async {
final response = await http.post(
Uri.parse(path),
body: json.encode(item),
headers: await this._getHeaders(),
);
var data = _handleResponse(response);
return this.mapper(data);
}