BasicAuthentication
This commit is contained in:
@@ -3,11 +3,10 @@ Imports System.Web.Http
|
||||
Imports Microsoft.Web.Http
|
||||
|
||||
Namespace ApiController.Controllers
|
||||
'v{version:apiVersion}
|
||||
|
||||
<ApiVersion("1")>
|
||||
<System.Web.Http.Route("api/v{version:apiVersion}/AVISO")>
|
||||
<Authorize>
|
||||
<BasicAuthentication>
|
||||
Public Class AVISOController
|
||||
Inherits System.Web.Http.ApiController
|
||||
|
||||
@@ -30,7 +29,7 @@ Namespace ApiController.Controllers
|
||||
|
||||
|
||||
Public Function GetValue() As String
|
||||
Return "Hello world! -> muss autorisiert werden!"
|
||||
Return "Hello world!"
|
||||
End Function
|
||||
|
||||
Public Function PostValue(ByVal API_AVISO As VERAG_PROG_ALLGEMEIN.cVERAG_in_TRAviso) As String
|
||||
|
||||
Reference in New Issue
Block a user