Can anyone please tell me how to use PUT HTTP method ...
Thank You!!
swati
Printable View
Can anyone please tell me how to use PUT HTTP method ...
Thank You!!
swati
Question is not clear. Can you explain?
Madhu
see.. i am using winsock in VB..
for downloading files from my server i have used HTTP GET METHOD ...
now if i want to upload some file on my server i thought HTTP PUT method should be used but the problem is that i dont know how to write a request header using PUT..
i guess now the question is quite clear... if its not clear yet please do reply..
reply soon..
swati
Try consulting RFC 2616 (HTTP/1.1), which you can find at www.rfc-editor.org - helped me with constructing headers at one point, although I never used PUT.
Alternate idea: You may try finding a really small (read "stupid") HTTP server written in VB (there is one at www.freevbcode.com ), and using some prewritten script to send it a PUT header, then looking at what the server receives and building your header based on that.
Okay, that sounded confusing...I know exactly what I was thinking, but it fell apart between my brain and the keyboard ;)