I'm trying to create a person-group using MS Cognitive face API but I keep getting the error message "The remote server returned an error: (404) Not Found.". Below is my source code. Would be glad if anybody could help me solve this.
using (var q3 = new WebClient())
{
q3.Headers.Add(HttpRequestHeader.ContentType, "application/json");
q3.Headers.Add("Ocp-Apim-Subscription-Key", subscriptionKey);
string url = "https://eastus.api.cognitive.microsoft.com/face/v1.0/persongroups/identificationapp2";
string json = "{\"name\":\"" + "TEST" + "\", \"userData\":\"" + "TEST INFORMATION" + "\" }";
string str = q3.UploadString(url, json);
}