Hi I am trying to upload video using this command. But it gives 500 error.
file_ = {'video_file': ('VID_20170628_154857.mp4', open('/home/ntweat/Downloads/VID_20170628_154857.mp4', 'rb'))}
r=requests.post(up_form, data={'title':'file_upload_form'}, files=file_)
r
<Response [500]>
Any suggestions??
Hi I am trying to upload video using this command. But it gives 500 error.
Any suggestions??