I'm using a JS MVC framework (sammy) for the first time and I'm clueless about what is the preferred way of sending data to the backend. In my case I have a js object with all the data that I need to process and add in the database. It looks something like this -
object = { 1: ['a'], 2: ['b'], .... };
Should I use jQuery's Get (or Post) methods to send this via ajax or is there any other way to do it?
Thanks