[AngularJS] Submit form with JSON

2014-01-26 Thread Tob
Hi all, I want submit my Form with POST / RESTful JSON to a WebService. Unfortunately, JSON does not work, I have to submit my form with String!! It works but I don't like this way very much, this is why I had to change the content-type (application/x-www-form-urlencoded). My code: 'create'

Re: [AngularJS] Submit form with JSON

2014-01-26 Thread Alexander Karelas
Why exactly doesn't JSON work? If you answer, we might be able to help. On 26/01/14 19:20, Tob wrote: Hi all, I want submit my Form with POST / RESTful JSON to a WebService. Unfortunately, JSON does not work, I have to submit my form with String!! It works but I don't like this way very