My rest service is expecting something like this:
'{ data1: "value1", data2: "value2"}'
Using the dataSource.transport.create method, my rest service receives something like this:
'data1=value1&data2=value2'
I've looked through the forums but have had no luck in getting the method to call jquery.ajax() with the proper data. How do I do this?
'{ data1: "value1", data2: "value2"}'
Using the dataSource.transport.create method, my rest service receives something like this:
'data1=value1&data2=value2'
I've looked through the forums but have had no luck in getting the method to call jquery.ajax() with the proper data. How do I do this?