To get intuition of how APIs work, we will explore two web-based APIs using the browser and the command line. We will explore Spotify and Twilio APIs using GET and POST methods.
Twilio is a comapny for developers that helps abstract away telephone communications. It lets you bring communications in your applications. It allows you to make and receive calls, and text messages, etc.
curl "https://api.twilio.com/2010-04-01/Accounts/your_account_sid/Messages.json" -X POST --data-urlencode "To=+33XXXXXX" --data-urlencode "Body=Hello again" --data-urlencode "MessagingServiceSid=messaging_service_id" -u your_account_sid:your_auth_token