I wish to pass image in get
url in php. Like how id is passed For eg. http://myurl.com?id=1
. Similarly I wish to pass an entire image instead of the id. How do I do it?
actually i have made a web service in php, and want to test it in browser. The service also contains an image to be passed and saved in database n also on server. So how do i do this?
You can convert your image to base64 code, and then send the code via GET. There's an easy to use image to base64 code converter at http://webcodertools.com/imagetobase64converter
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.