WordsAPI

부분 유료
분류별 dpventures | 업데이트됨 un mese fa | Data
인기

9.9 / 10

지연 시간

174ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

How do I use this API with JSON promises?

Rapid account: Blagonation
blagonation
6 anni fa

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 anni fa

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

Rapid account: Pablion
Pablion Commented 4 anni fa

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 anni fa

same peoblem.

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입