JSON vs URL Encoded API Calls - JSON returns BAD CSRF

I need to patch rails to get rid of that warning its a pain in the behind