Http Post request with content type application/x-www-form-urlencoded not working in Spring

后端 未结 7 1604
逝去的感伤
逝去的感伤 2020-11-27 06:19

Am new to spring currently am trying to do HTTP POST request application/x-www-form-url encoded but when i keep this in my headers then spring not recognizing it an

相关标签:
7条回答
  • 2020-11-27 07:20

    replace contentType : "application/x-www-form-urlencoded", by dataType : "text" as wildfly 11 doesn't support mentioned contenttype..

    0 讨论(0)
提交回复
热议问题