I am having trouble using Microsoft Face API. Below is my sample request:
curl -v -X POST \"https://westus.api.cognitive.microsoft.com/face/v1.0/detect?retur
I had faced the same issue, it seems like there is some problem with the keys generated newly. To fix this you can actually add your endpoint as well, when you create the object for IFaceServiceClient
. You can see the code below.
private readonly IFaceServiceClient faceServiceClient = new FaceServiceClient("your key", "Your endpoint");