When participating in a Web API project, it was found that the help page was particularly useful, and it was not only possible to automatically generate a helper document based on Webapi's methods and comments, but also to test the Webapi method on this page. I also intend to use this help page when creating a new project. In practice, discovering a new Web API project will automatically generate a help page for you, as follows:
After the API is opened, the following page is reached, and there is no test API button in the lower right corner, and the WEBAPI cannot be tested.
After the multi-check data, finally found a solution. Simply put, the Web API Test Client needs to be referenced through NuGet.
In the upper right corner, search for "webapitestclient". Note, do not search for "Test Client", etc., may not be searched. Also, select include pre-release version .
Search and install. The Test API button appears in the lower right corner.
Reference: http://www.c-sharpcorner.com/UploadFile/2b481f/adding-the-test-api-in-the-Asp-Net-web-api-help-page/
Http://blog.sina.com.cn/s/blog_60ba16ed0102v28z.html
There is no workaround for the Test API button on the ASP. NET Web API help page