Coronavirus Smartable

फ्रीमियम
द्वारा Smartable AI Developer Program | अपडेट किया गया 9 days ago | News, Media
लोकप्रियता

9.3 / 10

लेटेंसी

106ms

सेवा का स्तर

100%

Health Check

N/A

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

403 Forbidden or 405 Not Allowed on JQuery request

Rapid account: Reedwtaylor
reedwtaylor
4 years ago

Please advise on how to get JQuery request to work. I keep getting 403 Forbidden or 405 Not Allowed errors.

This is the sample code,
`var settings = {
“async”: true,
“crossDomain”: true,
“url”: “https://coronavirus-smartable.p.rapidapi.com/stats/v1/US-NC/”,
“method”: “GET”,
“headers”: {
“x-rapidapi-host”: “coronavirus-smartable.p.rapidapi.com”,
“x-rapidapi-key”: “46f46b0243msh7a994a14c64f248p1d7d65jsn11182e395fb3”
}
}

$.ajax(settings).done(function (response) {
console.log(response);
});`

Rapid account: Ken 020789 N IE Lsy Np C
ken020789-nIELsyNp_c Commented 2 years ago

Getting this on c# as well. Mine is specifically a 403 even with the right headers

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

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