Closed zhongqishang closed 3 years ago
I want to post a form use text/plain enctype. how can I do it.
text/plain
<form:form action="search" method="POST" enctype="text/plain" data-pjax>
...
$(document.body).on('submit', 'form', function(event) { event.preventDefault(); $.pjax.submit(event, '#pjax-container'); });
I use this code to post a form, but I got this. Content-Type: multipart/form-data; boundary=---------------------------7e12f933207f4
Content-Type: multipart/form-data; boundary=---------------------------7e12f933207f4
So, if i want to use the text/plain enctype. how can I do it.
I want to post a form use
text/plain
enctype. how can I do it....
I use this code to post a form, but I got this.
Content-Type: multipart/form-data; boundary=---------------------------7e12f933207f4
So, if i want to use the
text/plain
enctype. how can I do it.