Create a web page with the heading CNIT 133 Homework 8 - Ajax Applications.

Recreate the 'gethint' Ajax example from W3Schools http://www.w3schools.com/php/php_ajax_php.asp

Use the php file containing the hints and expand them to include several more names as hints (at least 10 more names).

Note: It is recommended to upload your php script (file) to the web hosting server, into the same directory where your HTML file resides. YOU WILL NOT BE ABLE TO USE GITHUB AS A WEB SERVER AS PHP WILL NOT BE PROCESSED THERE! Be sure to give your php directory read and execute permissions (chmod 700 or 755 php) - it will be fine if you upload the php file to the public_html folder of your Descartes account.

Right below that part, create another section for your page that will be based on some research you will do. You will write a couple of paragraphs presenting a REST API that you could use in an application and the URL to the documentation of that API - it cannot be any Github API, neither BART as both of those two have been mentioned in the lecture!

You can start your research here - https://apilist.fun/

Your paragraph or table should contain at least the following information:

  • What type of response file you get (JSON, XML, etc.)?
  • Do you need any type of key to access and use the API?
  • You need also to provide a link to any type of documentation that would help the developer use the API.

Extra Credit

You will create a page making the REST API you chose to work - the points of extra credit will only be given if the REST API is really working according to your explanation and what is provided by the documentation of the API!

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.