Here is the meaning of ask for with examples:
Definition1. to request.
2. To increase the likelihood of something by persisting in some action; to invite.
Example(s)1. I asked for a pizza.
2. She's asking for trouble if she keeps on doing the same mistake.