Making REST API calls with TypeScript (With Examples)