diff --git a/src/ReC.Client/ReCClient.cs b/src/ReC.Client/ReCClient.cs index 99165a7..767ae33 100644 --- a/src/ReC.Client/ReCClient.cs +++ b/src/ReC.Client/ReCClient.cs @@ -18,5 +18,17 @@ namespace ReC.Client { _http = http ?? throw new ArgumentNullException(nameof(http)); } + + /// + /// POST api/RecAction/invoke/{profileId} + /// + /// + /// + /// + public async Task InvokeRecActionAsync(int profileId, CancellationToken ct = default) + { + var resp = await _http.PostAsync($"api/RecAction/invoke/{profileId}", content: null, ct); + resp.EnsureSuccessStatusCode(); + } } }