Write a server called api.js that serves JSON data when it receives a GET re- qu
Write a server called api.js that serves JSON data when it receives a GET re- quest to the path ’/api/parsetime’. Expect the request to contain a query string with a key ’iso’ and an ISO-format time as the value.For example: /api/parsetime?iso=2013-08-10T12:10:15.474Z