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

1 Expert Approved Answer
Step: 1 Unlock

Part 1 Update an existing student constupdateStudentasync const url httpsweb322csstudents1025033012 ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!