wso2esb - How to send multipart/form-data message to http endpoint from WSO2 ESB proxy -
i need build message in proxy on wso2 esb 4.8.1 messagetype="multipart/form-data" , send http endpoint.
somethin this:
post /cgi-bin/maillist.cgi http/1.0 content-type: multipart/form-data; boundary=---------------------------7cd1d6371ec cache-control: no-cache content-length: 25852 -----------------------------7cd1d6371ec content-disposition: form-data; name="realname" steve johnson -----------------------------7cd1d6371ec content-disposition: form-data; name="email" steevo@idocs.com
could give me examlpe or link solution?
you can set message type property follows.
<property name="messagetype" value="multipart/form-data" scope="axis2"/>
so invoke multipart/form-data formatter , send out multipart/ form-data message.
Comments
Post a Comment