Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

GET, POST verständnisfrage

Empfohlene Antworten

Veröffentlicht

einen wunderschönen guten morgen,

ich habe hier ein zwar gelöstes, dennoch für mich nicht ganz verständliches problem.

wir hatten ein formular

<form ..... method="POST" action="......>

<input type="submit" value="....>

</form>

welches beim klick auf den submit-button folgenden Fehler brachte:

The page cannot be displayed

The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.

--------------------------------------------------------------------------------

Please try the following:

Contact the Web site administrator if you believe that this request should be allowed.

Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.

HTTP Error 405 - The HTTP verb used to access this page is not allowed.

Internet Information Services (IIS)

--------------------------------------------------------------------------------

Technical Information (for support personnel)

Go to Microsoft Product Support Services and perform a title search for the words HTTP and 405.

Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Setting Application Mappings, Securing Your Site with Web Site Permissions, and About Custom Error Messages.

nachdem ich das formular von "POST" auf "GET" umgestellt habe war der fehler weg :confused: .

es muss allerdings irgendetwas serverabhängiges sein, da das ganze auf einem anderen server einwandfrei funktionierte.

mfg

jasso

10.4.6 405 Method Not Allowed

The method specified in the Request-Line is not allowed for the resource identified by the Request-URI. The response MUST include an Allow header containing a list of valid methods for the requested resource.

Ich würde sagen, dass da ein u.U. ein Konfigurationsfehler bei dem IIS vorliegt.

Ich würde sagen, dass da ein u.U. ein Konfigurationsfehler bei dem IIS vorliegt.
Jo,

ich weiß zwar nicht, um welche Anwendung es hier genau geht, aber bei ASP.net-Anwendungen gibt es beim IIS sämtliche Konfigurationseinstellungen, die hier erläutert sind.

Für deinen Fehler ist der Abschnitt <authorization> interessant, in dem man z.B. explizit festlegen kann, wer was darf - u.a. kann man nämlich festlegen, ob Formulare nur über "GET", nur über "POST" oder beides laufen dürfen.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.