post with image file (General questions)
hello there,
when I try to upload a file its sending the post like this
Content-Disposition: form-data; name= fileupload ; filename= image.jpg
Content-Type: application/octet-stream
how can I make a post with data like this
Content-Disposition: form-data; name= fileupload ; filename= image.jpg
Content-Type: image/jpeg
Re: post with image file
ok I just found it.. its like this..
object.AddFile Name, Filename, [ContentType]