post with image file (General questions)

by Klinzter @, (5382 days ago)

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

locked

Re: post with image file

by Klinzter @, (5382 days ago) @ Klinzter

ok I just found it.. its like this..

object.AddFile Name, Filename, [ContentType]

locked