When I send a JSON representation of my entity to the server, how should the payload be delivered ? As far as I see, there are two options:
- as an uploaded file
- as the content of a POST form data
The first case cannot be performed via AJAX request, as far as I see, but it seems the "right one". Do you know if there's a preferred "de facto" way to perform this task?