Stefan R.
Stefan R.

Reputation: 448

Text analytics returns 404 'Resource not found'

Tried to narrow down the problem with Postman. I tried subscriptions in SouthCentralUS and also BrazilSouth, but it's always the same.

POST https://southcentralus.api.cognitive.microsoft.com/text/analytics/v2.0

Header: Ocp-Apim-Subscription-Key: xxx Content-Type: application/json

Body {"url":"https://www.ciclosoftware.com/wp-content/uploads/2017/02/ciclo-software.png"}

Actually I get the same result if I just put the url into the browser as a GET without headers and body. But i don't see what I'm possibly doing wrong. I even thought it could be a internal problem of Azure... ??

Upvotes: 1

Views: 2098

Answers (1)

Nicolas R
Nicolas R

Reputation: 14609

What are you trying to achieve?

There are 4 methods in Text Analytics API family:

South Central US Text Analytics

As you can see, none of these endpoints match the one you are trying, hence the 404 you got. Moreover, they are all waiting for Text input in a JSON, not a link like you are trying to provide.

Are you looking for an OCR capability? In that case, you should have a look to Computer Vision API, and then you have 2 possibilities:

  • OCR method, see here
  • Recognize Text method, see here, currently in preview and only for English text

Upvotes: 2

Related Questions