使用 xml 的 post 方法上传图像
我对如何使用 xml 解析在 post 方法中粘贴图像感到有点困惑。 我能够发送字符串值,但不知道如何发送图像。 代码片段或任何教程或链接都会非常有帮助。
我的网址是这样的 <一href="http://66.45.25.240/XML/EditProfile.aspx?myguid=45&guid=45&name=aditya&email=xyz@gmail.com&am p;cell=1234567890&title=标题&twitterhandle=tutu.com&facebookhandle=ad@ad.com&picture=a124.jpg" rel="nofollow">http://66.45.25.240/XML/EditProfile.aspx?myguid=45&guid=45&name=aditya&[电子邮件受保护]&cell=1234567890&title=Title&twitterhandle=tutu.com&[email protected]&picture=a124.jpg
这里我不知道如何传递图片部分。 问候 姆鲁根
I am bit stuck about how to pase the image in post method with xml parsing .
I am able to send the string values but dont know how to send the images .
A code snippet will be very helpful or any tutorial or link.
My url is something like this
http://66.45.25.240/XML/EditProfile.aspx?myguid=45&guid=45&name=aditya&[email protected]&cell=1234567890&title=Title&twitterhandle=tutu.com&[email protected]&picture=a124.jpg
Here i dont know how to pass the picture part .
Regards
Mrugen
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您不应该使用 HTTP GET,因为参数的可能长度非常有限。
请改用 POST。这是链接 举个例子
You shouldn't use HTTP GET because the possible length of the parameters is very limited.
Use POST instead. Here's a link to an example