Fixing the api so it can receive posts from ruby which is ... challenging