24 lines
539 B
VB.net
24 lines
539 B
VB.net
Imports System.Net
|
|
Imports System.Web.Http
|
|
Imports System.Web.Http.Description
|
|
Imports Microsoft.Web.Http
|
|
Imports Newtonsoft.Json
|
|
|
|
|
|
|
|
|
|
Namespace NEWTESTController.Controllers
|
|
|
|
<ApiExplorerSettings(IgnoreApi:=True)> 'hide controller
|
|
<ApiVersion("1")>
|
|
<System.Web.Http.Route("api/v{version:apiVersion}/NEWTEST")>
|
|
Public Class NEWTEST1Controller
|
|
Inherits System.Web.Http.ApiController
|
|
|
|
Public Function GetValues() As String
|
|
Return "NEWTEST 1111"
|
|
End Function
|
|
|
|
End Class
|
|
End Namespace
|