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

1 posts, 0 answers
  1. Matt
    Matt avatar
    16 posts
    Member since:
    Jul 2012

    Posted 02 Aug 2012 Link to this post

    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?
Back to Top