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
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
Step by Step Solution
There are 3 Steps involved in it
Part 1 Update an existing student constupdateStudentasync const url httpsweb322csstudents1025033012 ... View full answer
Get step-by-step solutions from verified subject matter experts
