BasicAuthentication

This commit is contained in:
2023-02-27 09:12:32 +01:00
parent f595773d33
commit 54563e4143
11 changed files with 242 additions and 62 deletions

View File

@@ -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