Request a RESTful API directly in JavaScript AJAX

These AJAX calls will fail as the service provider does not allow direct cross domain calls. Copy and paste the URL to the textbox and call it.

Use browser developer tool to show status.


Check to use a proxy - We can use a general CORS proxy to bypass the restriction - https://cors-anywhere.herokuapp.com/ - add this before any Web API URL like https://cors-anywhere.herokuapp.com/https://api.itbook.store/1.0/search/mongodb