Understanding The Fundamentals of API Security | How APIs are Attacked and How to Secure Them