method not allowed when put, post delete history