Contents tagged with web-api
-
IHttpActionResult Shortcut Methods
The ApiController in Web API 2 has action methods that return an IHttpActionResult interface. There ApiController class has shortcut methods for creating certain results. From within an Action Method, … more
-
Invoke-WebRequest - Test ASP.NET Web API with PowerShell
This is awesome. I don’t need to open Firefox or Fiddler to test my Web API. I can do it all from PowerShell. Example with localhost Invoke-WebRequest -uri http://localhost/Attendance.WebApi/api/ … more