File upload without server script?
File upload without server script?
krupal.jadhav
Posts: 14Questions: 6Answers: 0
I am making an application using plain JAVASCRIPT, HTML and REST API (Mulesoft). Is there a way I can implement the file upload function without writing any server side script and simply sending the file to the REST API?
This discussion has been closed.
Answers
What does your REST API expect for the file upload in terms of parameters and data?
Allan
@allan it expects a multipart form-data
I wrote my own code for uploading files without server script. I created a datatables button and wrote the file handling code in action, here it is:
Thanks for sharing that with us. Great to hear you got it working.
Allan