Closed javapa closed 1 year ago
Thank you for your feedback!
I assume it is because ACRCloud platform did not response in json format, prehaps in html?
Now I'v added a check for the response format, throws UnknownResponseException
, published the package in nuget, version 1.2.2-preview.1
.
You might check the property: UnknownResponseException.Response
to find what they responses, and would you please provide it for solving the issue?
Hey, thank you for the fast reply! Now I can see that the endpoint (http://{{host}}.com/v2/identify) can't be found from the response.
If I go over to postman and execute a POST request to the same endpoint, but use version v1 I get a 200 OK response.
Thank you! I found the api contract on global-docs and cn-docs It seems that the v2 api was obsoleted, but it is still avalible in china region. (link) I will fix it asap :)
It works now, awesome! Thank you!
I want to do a basic search based on the contents of a file that's included in my demo project. I have tried the RecognizeByFileAsync method in 2 ways, first by referencing the file with the filepath and second by reading the bytes of the file, the exception is the same every time.