Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

117
Views
Connection between chrome extension and Azure text analytics API

I am trying establish connection between my chrome extension and text analytics API. I have created background.js to deal with connection after extension is installed to chrome but it's throwing error code: Failed to load resource: the server responded with a status of 404 ()

How can I establish connection between extension and Azure TA API?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

There's a JavaScript library you can use: Azure Text Analytics client library for JavaScript. The GitHub repo has a lot of examples, like this one for detecting the language:

const documents = [
  "This document is written in English.",
  "Este es un document escrito en Español.",
  "这是一个用中文写的文件",
  "Dies ist ein Dokument in deutsche Sprache.",
  "Detta är ett dokument skrivet på engelska."
];

const client = new TextAnalyticsClient(endpoint, new AzureKeyCredential(apiKey));
const results = await client.detectLanguage(documents);
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!