how to create JSON data format for the file upload functionality?
how to create JSON data format for the file upload functionality?
IHSL
Posts: 13Questions: 8Answers: 0
I would like to know the json data format for the file upload. Right now it is sending through form but i would like to have send it as json data
This discussion has been closed.
Answers
There isn’t a JSON data format that Editor uses for the file upload - as you note it sends it as a multi-part form via Ajax. The full information for the client / server upload interchange is available here.
Generally multi-part form is much easier to work with on the server-side for file upload than JSON (and likewise the client-side). Are you using a library on the server-side that is having problems with the upload?
Allan