This commit is contained in:
2025-05-13 12:39:38 +08:00
parent e63409fcf9
commit b95a465d96

View File

@@ -49,6 +49,9 @@ public class GainfoFacesController : ControllerBase
var key = "27390082";
var secret = "MLl7Dv7p5Pgc9XYI3r4O";
// HttpUtillib.SetPlatformInfo(key, secret, "10.32.0.10");
// HttpUtillib.HttpPost(url, body, 15);
var headers = InitRequest(url, body, key, secret);
client.DefaultRequestHeaders.Accept.Clear();
client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue(headers["Accept"]));