Hi,
Please check my setting as attached.
It is called by POST method.
in the request raw:
POST
http://api.kijiji.ca.staging.intern.qa- ... ApiCommand HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: multipart/form-data; boundary="----=_Part_47_15082019.1294634505798"
MIME-Version: 1.0
User-Agent: Jakarta Commons-HttpClient/3.1
Host: api.kijiji.ca.staging.intern.qa-kijiji.com
Content-Length: 87230
------=_Part_47_15082019.1294634505798
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="xml"
<?xml version="1.0" encoding="UTF-8" ?> <SOAP:Envelope xmlns:SOAP="
http://www.w3.org/2003/05/soap-envelope" > <SOAP:Body > </SOAP:Body> </SOAP:Envelope>
------=_Part_47_15082019.1294634505798
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="Header/client/id"
1234
------=_Part_47_15082019.1294634505798
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="Header/client/validation"
5566zgsc
------=_Part_47_15082019.1294634505798
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="Header/command"
post
------=_Part_47_15082019.1294634505798
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="Header/version"
1
------=_Part_47_15082019.1294634505798
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="Body/user/email"
kijiji3@unicorn.qa.ebay.com------=_Part_47_15082019.1294634505798
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="Body/ad/area_id"
80002
------=_Part_47_15082019.1294634505798
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="Body/ad/category_id"
103
------=_Part_47_15082019.1294634505798
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="Body/ad/language_code"
1
------=_Part_47_15082019.1294634505798
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="Body/ad/title"
API post private ad1
------=_Part_47_15082019.1294634505798
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="Body/ad/description"
API post private ad1
------=_Part_47_15082019.1294634505798
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="Body/ad/ask_price"
500
------=_Part_47_15082019.1294634505798
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="Body/ad/address"
montreal
------=_Part_47_15082019.1294634505798
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="Body/ad/format"
2
------=_Part_47_15082019.1294634505798
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="Body/image1"
file
------=_Part_47_15082019.1294634505798
Content-Type: application/octet-stream; name=file
Content-Transfer-Encoding: binary
Content-Disposition: form-data; name="file"; filename="file"
[a lot of non-printable chars here....]
The result is that, the attachment is not uploaded as the same as a single html call in the very beginning of the sample i gave.