Is it possible to upload a file when using application/x-www-form-urlencoded? i am following html code but it is only uploading/sending the formfields rather real uploading of the file.
<form name="form1" method="post" action="api/upload">
<div>
<label for="caption">Image Caption</label>
<input name="caption" type="text" />
</div>
<div>
<label for="image1">Image File</label>
<input name="image1" type="file" />
</div>
<div>
<input type="submit" value="Submit" />
</div>
</form>
api/upload
directly or using JSON to post the form. In what language you are programming beside html?