how to create JSON data format for the file upload functionality?

how to create JSON data format for the file upload functionality?

IHSLIHSL 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

Answers

  • allanallan Posts: 63,214Questions: 1Answers: 10,415 Site admin

    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

This discussion has been closed.