Get patterns from server