I'm completely baffled by this situation. It's a routine task for me, yet I can't figure out why it's failing in such a strange way. It seems like it's going to be something trivial, but it's not the typical "no data on the server side" issue. The post request is being sent to the server with no content whatsoever.
$http.post(urls.base_signup, ({
email: $scope.email,
google_id: $scope.google_id,
google_token: $scope.google_token,
name: $scope.name
}))
Looking at the Networking tab in the chrome debugger, here's the request:
Accept:*/*
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8,es;q=0.6
Access-Control-Request-Headers:accept, content-type
Access-Control-Request-Method:POST
Connection:keep-alive
Host:paypertrade.com
Origin:https://paypertrade.com
User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36
Why isn't there any payload included in the request??