Interviews2 answers
Differentiate between FromURI and FromBody in ASP.NET Web API
2 Answers
Web API gets the value of a primitive parameter from the query string and complex type parameter from the request body.
YaminiPosted Feb 25, 2019, 10:56 PM EST
FromURI attribute to instruct Web API to collect or get the value of complex type from the query string.
FromBody attribute instruct Web API to collect or get the value of primitive type from the request body.
Manoj KallaPosted Jul 31, 2018, 9:51 PM EDT
