API für die App angepasst
This commit is contained in:
@@ -41,6 +41,7 @@ Namespace ApiController.Controllers
|
||||
End If
|
||||
|
||||
If arrayOfFiles Is Nothing OrElse arrayOfFiles.Length = 0 Then
|
||||
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR("Leeres 'arrayOfFiles' empfangen.", "Anhangsart: " & anhangsart, "uploadAvisoAttachment")
|
||||
Return Request.CreateErrorResponse(HttpStatusCode.BadRequest, "Das 'arrayOfFiles' darf nicht leer sein.")
|
||||
End If
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
-->
|
||||
<system.web>
|
||||
<compilation debug="true" targetFramework="4.8"/>
|
||||
<httpRuntime targetFramework="4.5"/>
|
||||
<httpRuntime targetFramework="4.5" maxRequestLength="1048576" executionTimeout="3600"/>
|
||||
</system.web>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
@@ -232,6 +232,12 @@
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
<system.webServer>
|
||||
<security>
|
||||
<requestFiltering>
|
||||
<requestLimits maxAllowedContentLength="1073741824" />
|
||||
<!-- 1 GB -->
|
||||
</requestFiltering>
|
||||
</security>
|
||||
<handlers>
|
||||
<remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
|
||||
<remove name="OPTIONSVerbHandler"/>
|
||||
|
||||
Reference in New Issue
Block a user