Sending POST request to static contents (HTML, etc) inside war fails with "405 Method Not Allowed" on JBoss EAP 7

Solution Verified - Updated -

Issue

  • We get a 405 (HTTP method POST is not supported by this URL) response when making a POST to an HTML page on EAP 7. This would get a 200 response on EAP 6 and earlier.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 7.x
  • Undertow

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content