WordsAPI

फ्रीमियम
Verified
द्वारा dpventures | अपडेट किया गया a month ago | Data
लोकप्रियता

9.9 / 10

लेटेंसी

174ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

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.

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें