I\'m developing in the new core 5.0.
I have the following static method for calling APIs:
public static async Task CallApiAsync(strin