means
Suggests that someone's conduct invited an unpleasant response or consequence; it may be used jokingly.
also
Ask for it.
You kept challenging him to a race, so you asked for it.
expression
means
Suggests that someone's conduct invited an unpleasant response or consequence; it may be used jokingly.
also
Ask for it.
You kept challenging him to a race, so you asked for it.