How to upload an image to imageshark using curl?
- by cinek1lol
Hello:
I wrote a program using curl.exe that sends pictures to imageshark and receives a link to the pictures.
The problem that I have to specify the path to the image on the disk, and the rest of my so constructed that I have uploaded these pictures to a binary char array
And I mean, I can send these pictures to char variable, and not giving the file path (you know what I mean?)
Not too much know how to use it to save the library directly to curl.
I'll be very grateful for any help
sorry I know little English.
wants to send a file loaded POST method to the variable char binary.
Programs that are written above, send the file to disk.
Do you understand what's going on?
This is look like
I would like to send the file in char variable, rather than on the hard disk
I found the program, but he sends the entire file, and I would like to have it sent to the variable char
dz