WordsAPI

FREEMIUM
Verified
Door dpventures | Bijgewerkt месяц назад | Data
Populariteit

9.9 / 10

Latency

175ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle discussies

How do I use this API with JSON promises?

Rapid account: Blagonation
blagonation
6 лет назад

If I have a custom mashape key, where in the GET request url would i put it? Currently I only have their base url which is “https://wordsapiv1.p.mashape.com/words/example/definitions”; but this doesn’t return anything

Rapid account: Kruchy 1980
Kruchy1980 Commented 4 года назад

Hwy Pablion thanks for giving solution had the same problem but now works fine thanks

Rapid account: Pablion
Pablion Commented 4 года назад

in JAVACRIPT/fetch
console.log(response);
should be changed to :

response.json().then((data) => {
        console.log(data);
    });

according to this:
https://stackoverflow.com/questions/45366789/trying-to-access-response-data-using-fetch

Rapid account: Pablion
Pablion Commented 4 года назад

same peoblem.

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen