Question: Networking application with Python : querying the database (data provided below) using a web-browser: develop a web-server that allows the database to be queried using
Networking application with Python : querying the database (data provided below) using a web-browser: develop a web-server that allows the database to be queried using any web-browser. Your web-server will support the following HTTP GET operations:
"ip address:portnumber/api/studentlist" should return the list of students as an array, encoded in JSON.
"ip address:portnumber/api/studentmark/[student-name]" should return the mark for the student whose name is specified as part of the URL string.
The outputs of the queries above should be viewable using any browser. it is recommended that you use the Python Flask framework for developing your web-server, and Python's JSON encoder library for sending JSON formatted strings.
student info: Micheal: 95 Amy:20 Steven:68 Amada:72 Joe:82 Frank:19 Apple:0 john:77
thank you in advance for help me out!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
