WordsAPI

FREEMIUM
Verified
Par dpventures | Mise à jour לפני חודש | Data
Popularité

9.9 / 10

Latence

175ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les discussions

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.

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires