I'm having trouble sending POST to the playback platform - it may not even be Play related, just like HTTP related.
$.ajax({ type:'POST', url:'http://localhost:9000/start', data: { myJson:JSON.stringify(arg) } }).done(function(data) { console.log(data); });
where arg is an array of strings, that is: ['a', 'b', 'c']
The route I'm trying to use to fix this:
POST /start controllers.Application.startIt(myJson)
What am I doing wrong? At the moment (if the route runs correctly), this function will never return 400. There is no way out to the Play console, only javascript:
POST http://localhost:9000/start 400 (Bad Request)
source share