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.
- https://api.itbook.store/1.0/search/mongodb
- https://api.bing.com/osjson.aspx?query=kennesaw
- https://joke-api-strict-cors.appspot.com/random_joke
These AJAX calls allow direct cross domain calls. Copy and paste the URL to the textbox and call it.
- http://ziptasticapi.com/30303
- http://it-ebooks-api.info/v1/search/web
- https://www.googleapis.com/books/v1/volumes?q=ajax
- https://openlibrary.org/api/books?bibkeys=ISBN:1593274874&jscmd=data&format=json
Use browser developer tool to show error message.