I have a single user authentication asp web api running on my IIS and I can view it from any browser on any device on the same network.
Now I need to use postasync() with this URI to use register method. I have implemented the following code but it doesn't seem to give any result
var Json = JsonConvert.SerializeObject(model);
HttpContent content = new StringContent(Json);
var ur = new Uri(string.Format("(my device ip):80/gpoauth/api/Account/Register",new Guid()));
content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json");
var response = await client.PostAsync(ur, content);
return response.IsSuccessStatusCode;