Domainr

फ्रीमियम
Verified
द्वारा Domainr | अपडेट किया गया 24일 전 | Business
लोकप्रियता

9.9 / 10

लेटेंसी

420ms

सेवा का स्तर

100%

Health Check

N/A

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

CORS Calls stopped working

Rapid account: App Machine
AppMachine
7년 전

We are now getting an error when trying to make an API Call from JavaScript.
This is the error we are getting:

XMLHttpRequest cannot load https://domainr.p.mashape.com/v2/search?mashape-key=&defaults=club%2Ccoffee&location=de&query=acme+cafe&registrar=namecheap.com. The ‘Access-Control-Allow-Origin’ header contains the invalid value ‘185.85.83.246’. Origin ‘https://market.mashape.com’ is therefore not allowed access.

Rapid account: Domainr
domainr Commented 7년 전

The fix has been deployed and verified.

Rapid account: Domainr
domainr Commented 7년 전

We located the issue, which happens when a request is sent that isn’t using CORS but we were responding with a CORS header. A fix will be deployed shortly.

Rapid account: Domainr
domainr Commented 7년 전

Is the error occurring in your application or only when testing the endpoint on the Mashape website? I can only reproduce the error when I click the “test endpoint” button on Mashape. The Origin header should be set by the browser to your site’s address when accessed from there.

Rapid account: Domainr
domainr Commented 7년 전

Looking into this. Thank you for your report.

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

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