Types of API and their Uses
- REST and SOAP API use predominantly use HTTP as their protocol
- Arguments are sent as part of the URL, as HTTP Header or in the request body
- Message payload is predominantly JSON for REST and XML for SOAP
Why Hack an API ?
- Provoke error messages or response that give us system details
- Database names
- File Paths
- Component versions
- Find Security holes that give us access to system resources
- Put the API in an unavailable or unstable state (DOS)