- static async Task SendCallInformationApi()
- {
- try
- {
- string url = String.Format("/Home/CallMonitorApi");
- var client = new RestClient("192.168.0.133");
- var request = new RestRequest(url, Method.Post);
- request.AddParameter("state", state);
- request.AddParameter("DeviceNumber", DeviceNumber);
- request.AddParameter("NationalCode", NationalCode);
- request.AddParameter("Ani", Ani);
- RestResponse response = await client.ExecuteAsync(request);
- catch (Exception ex)
- {
- }
- }
Recent Pastes