how to send a multipart post (to send images) as a soap packet?
I want to upload images to some server using multipart post request. I am using PHP/cURL to send soa开发者_开发问答p request envelopes
Any help would be very appreciated.
Amjad
I am a bit unsure what excatly you are trying to do. If you want to include images in a SOAP request, you should send the binary content of that image as base64 encoded string (using PHPs base64_encode
function).
If you could update your answer with more details what you are trying to achieve and maybe post some code, we could provide you with better answers.
精彩评论