Write JavaScript code to make AIAX requests to the web API regarding resource Students using fetch API
Question:
Write JavaScript code to make AIAX requests to the web API regarding resource Students using fetch API discussed in class. The web API is hosted on https://web322.cs and the Student model has simply 3 properties: studentid, studentName and program Part 1. Update an existing Student with your name and your program in Seneca. The studentid is 1025033012 Output the response message and entor message uning console.log
marks]
Part 2. Delete the Student whose studentid is 127011056" and output the response and error message using console.log) [2 marks Note: You must labeV/comment your code with // Part 1","//Part 2: writing unrequired code may result in dedoston or even mark for the question
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill