c# - Post Multipart with text and file -


i'm trying send file app webservice , have write code featured form :

<form action="/api/v1/photo.json" method="post"  enctype="multipart/form-data">  <label for="udid">udid:</label> <input type="text" name="udid" id="udid" value="web "/><br />  <label for="file">file:</label> <input type="file" name="file" id="file" /><br />  <label for="movie">movie:</label> <input type="file" name="movie" id="movie" /><br />  <input type="submit" name="submit" value="submit">

i have picture in byte[], things tried return me internal error 500 :/


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -