WordsAPI

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

9.9 / 10

लेटेंसी

175ms

सेवा का स्तर

100%

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

How can I fix the Forbidden Link error?

avatar
nbriannyc
hace un año

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);
});
avatar
a.shboul commented hace un año

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

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

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