WordsAPI

부분 유료
Verified
분류별 dpventures | 업데이트됨 4 дня назад | Data
인기

9.9 / 10

지연 시간

206ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

How can I fix the Forbidden Link error?

Rapid account: Nbriannyc
nbriannyc
3 года назад

For some reason, when I try to make a request, nothing happens. There is an error message, though.

“GET https://wordsapiv1.p.rapidapi.com/words/wordHere 403 (Forbidden)”

I have confirmed I am using a correct API key in JavaScript, jQuery.

Here is my code with the API Key removed:

$.ajax({
	"async": true,
	"crossDomain": true,
	"url": `https://wordsapiv1.p.rapidapi.com/words/${window.getSelection().toString().trim()}`,
	"method": "GET",
	"headers": {
		"x-rapidapi-key": "API Key Removed",
		"x-rapidapi-host": "wordsapiv1.p.rapidapi.com"
	}
}).done(response => {
	console.log(response);
});
Rapid account: A Shboul
a.shboul Commented 3 года назад

I was facing the same issue too,
to fix it you need to subscribe to RapidApi by clicking “Subscribe to Test”

you can start with a free plan paying $0 amount
once done you can proceed with testing and using the api

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

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