Hi, I am building . Net Core 7.0 application and I have set up to receive the web hook events. I am trying to validate the token but I am getting a 404 when requesting the token validation. The below code is what I am using. Is this something anyone else has experienced before?
Thanks
Generating Key. I am using my secret key and it is the correct one for the environment
_secretKey = Convert.ToBase64String(System.Text.ASCIIEncoding.ASCII.GetBytes(secretKey+":"))
The call
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
_httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Basic", _secretKey);
_httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
var requestUri = $"https://app.snipcart.com/api/requestvalidation/{requestToken}";
var response = _httpClient.GetAsync(requestUri).Result;
if (response.IsSuccessStatusCode)
{