How to learn api testing?

How to learn api testing?