WordsAPI

FREEMIUM
Verified
Por dpventures | Actualizada a month ago | Data
Popularidad

9.9 / 10

Latencia

174ms

Nivel de servicio

100%

Health Check

N/A

Volver a todas las conversaciones

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.

Únase a la conversación, añada un comentario a continuación:

Inicie sesió/Regístrese para publicar nuevos comentarios