Fix put and post routes
Really fix post this time