WordsAPI

FREEMIUM
Verified
โœ“
By dpventures | Updated 5 days ago | Data
Popularity

9.9 / 10

Latency

206ms

Service Level

100%

Health Check

N/A

Back to All Discussions

How do I use this API with JSON promises?

Rapid account: Blagonation
blagonation
6 years ago

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 years ago

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

Rapid account: Pablion
Pablion Commented 4 years ago

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 years ago

same peoblem.

Join in the discussion - add comment below:

Login / Signup to post new comments