Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

110
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda