post method
Asynchronously posts an obj of type T to the API endpoint using POST.
Returns the (updated) obj.
Implementation
@override
Future<T?> post(T? obj) async {
final json = await postJson(obj == null ? null : serializer(obj));
return json == null ? null : deserializer(json);
}