开发者

how to send a multipart post (to send images) as a soap packet?

开发者 https://www.devze.com 2023-01-14 18:24 出处:网络
I want to upload images to some server using multipart post request. I am using PHP/cURL to send soa开发者_开发问答p request envelopes

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消