JSONP / CORS
JSONP is deprecated since years. You should no longer rely on this method to make cross-domain requests. Ipregistry supports Cross-Origin Resource Sharing (CORS), a modern alternative that is widely supported by browsers, saner and cleaner.
By default, the Ipregistry API allows all origins for CORS.
Filtering Origins by API key
You can filter origins, and control what API key is allowed to call the Ipregistry API, directly from the Ipregistry dashboard:
- Open your dashboard.
- Click on "API Keys" in the left menu.
- Click on "Edit" for the key you want to filter origins.
- In the "Origins" section, select "Filter by origins" for the dropdown option.
- Enter the URL prefix of the origins that are allowed:
- Save your changes.
CORS support with IE8/IE9