This is a migrated thread and some comments may be shown as answers.

Sending JSON.stringify() to REST service from datasouce.transport.create

0 Answers 76 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 02 Aug 2012, 04:06 PM
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?

No answers yet. Maybe you can help?

Tags
Data Source
Asked by
Matt
Top achievements
Rank 1
Share this question
or