Does anyone know why I keep getting Error 400 Parse Error when POST to App Engine? My JSON is fine. I have JSON.encoded it. Anyone run into these issues before???
This is my HTTPRequest code.
sendData = JSON.encode(data);
_httpRequest = new HttpRequest()
..open(method, url)
..setRequestHeader("Authorization", "Bearer " + tokenKey)
..onLoadEnd.listen((e) => _loadEnd(_httpRequest))
..send(sendData);