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

105
Views
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
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!