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