Question: Given JSON in below img, write down code a) To develop HTML frontend. b) A script with save() function which creates json object and then

Given JSON in below img, write down code

a) To develop HTML frontend.

b) A script with save() function which creates json object and then posts ( http.Post) json to backend server

Given JSON in below img, write down code a) To develop HTML

frontend. b) A script with save() function which creates json object andwe have to write the html code to devolp the frontend of given JSON.

Screenshot of backend code into your answer sheet

{ "Id": 1, "Name": "asad", "address": "XYZ", "credCard" : { "Id": 1, "ExpiryDate": "12-12-2021", "PIN": "12-12" "ordList":[ { "OrderId": 1, "OrderDate": "11-01-2020", "Total": 2000.0 { "OrderId": 2, "Order Date": "12-01-2020", "Total": 1000.0 } ] } public class ValuesController. Ari Controller { // GET ari/values public IHttpActionResult Geto { Credit Card sredCard = new Credit Card Id = 1. Expiry Date = "12-12-2021", PIN = "12-12" }; Order ord1 = new Order OrderId = 1, Order Date = "11-01-2020", Total = 2000 }; Order ord2 = new Order (OrderId = 2, Order Date = "12-01-2020", Total = 1000 }; List ordList = new ListardList { set; get; } } class Credit Card { public int Id 1.set: get; } public string Expiry Date 1set: get; } public string PIN { set; get; } class Order { public int OrderId 1.set: get; public string Order Date ( set; get; } public double Total (set: get; }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!