Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

107
Visualizações
using API to return a synonym word with JavaScript

I found a dictionary API, I try to send a word and receive a synonym in return, in JavaScript, I can pass two parameters (word, limit), can you help me please pointing me in the right direction. Please check the picture I provided to see the small documentation to the API, not much info on it screenshot of the API doc. I'm trying to set an input to enter a word, or several words, and then return a synonym for each.

Thank you for your help.

Here is a piece of code that I found online that I try to work with :

`const userAction = async() => {
  const response = await fetch('https://api.dicolink.com/v1/mot/synonymes?limite=1&api_key=XXXXX', {
    method : 'POST',
    body: myBody,
    headers : {
      'Content-Type': 'application/json'
    }
  });
  
   const myJson = await response.json();

}`
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda