コード例 #1
0
        private async Task UpdatingEmail(CancellationToken cancellationToken = default)
        {
            var url = ApiEndpoints.UpdateUserEmail();

            var newUserEmail = "*****@*****.**".ToStringContent();

            var requestMessage = _httpRequestFactory.CreateAuthPostRequest(url, newUserEmail);

            await _httpClient.ExecuteRequest(requestMessage, cancellationToken);
        }