Pregunta de entrevista de Oracle

Explain How APIs work ? Why do we need to use APIs (with real world example).

Respuesta de la entrevista

Anónimo

31 de ene de 2026

First I mentioned API full form(Application Programming Interface). It allows different applications to communicate using a request–response cycle. In a REST API, the client sends an HTTP request using methods like GET, POST, PUT, or DELETE, and the server processes it and returns a response, usually in JSON format. I took example of weather app, where the app calls a weather REST API using a GET request to fetch live weather data instead of handling it internally.