Forum Discussion
1 Reply
Sort By
- JHuntCommunity Hero
Can you describe how the HTTP message should look?
I was able to make a REST POST request with an attached XML file that looks like this:
POST http://localhost:8080/accountcreation?username=john&password=w0j39av0d8s HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: multipart/mixed; boundary="----=_Part_0_2128274485.1564292773222" MIME-Version: 1.0 Content-Length: 4437 Host: localhost:8080 Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5) ------=_Part_0_2128274485.1564292773222 Content-Type: text/xml; charset=Cp1252; name=soapui-log4j.xml Content-Transfer-Encoding: binary Content-Disposition: form-data; name="soapui-log4j.xml"; filename="soapui-log4j.xml" <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
(... the rest of the XML file... )Is that the sort of thing you meant?
Related Content
- 3 years ago
Recent Discussions
- 3 days ago