http://localhost:15641/api/Complaints/NewComplaints <pre lang="vb">User-Agent: Fiddler Content-Type: application/json Host: localhost:15641 Content-Length: 63</pre>
{ "CostCentre": "test" "ComplaintText":"this is test complaint" }
[Route("api/Complaints/NewComplaints")] [HttpPost] public void CreateNewComplaint(BLL.Complaint complaint) { //call BLL Create complaint method } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)