Filter interviews by
Idempotency in REST APIs ensures that multiple identical requests have the same effect as a single request.
Idempotency means that the result of a successful request is the same regardless of how many times it is made.
GET and PUT requests are typically idempotent, while POST requests are not.
Using unique identifiers like UUIDs in requests can help ensure idempotency.
Idempotency is important for ensuring data consistency
Design considerations for building an API
Define clear and consistent naming conventions for endpoints and parameters
Use versioning to manage changes and updates without breaking existing clients
Implement proper authentication and authorization mechanisms to secure the API
Design for scalability and performance by considering caching, rate limiting, and pagination
Provide comprehensive documentation to guide developers on
I applied via LinkedIn and was interviewed in Sep 2023. There were 2 interview rounds.
To consume multiple APIs in parallel, use asynchronous programming techniques like Promises or async/await.
Use asynchronous programming techniques like Promises or async/await to make API calls concurrently.
Create an array of Promises for each API call and then use Promise.all() to wait for all of them to resolve.
Consider using libraries like Axios or Fetch for making API calls in a more efficient manner.
Exceptions in SpringBoot can be handled using @ExceptionHandler, @ControllerAdvice, or custom exception classes.
Use @ExceptionHandler annotation in controller classes to handle specific exceptions
Use @ControllerAdvice annotation to define global exception handling for all controllers
Create custom exception classes by extending RuntimeException or Exception classes
Use try-catch blocks to handle exceptions within specifi
Cabin Crew
191
salaries
| ₹3.2 L/yr - ₹12 L/yr |
Customer Service Executive
130
salaries
| ₹1 L/yr - ₹6 L/yr |
Cabin Attendant
72
salaries
| ₹3 L/yr - ₹12.2 L/yr |
Senior Associate
68
salaries
| ₹3.5 L/yr - ₹11.7 L/yr |
Senior Security Officer
67
salaries
| ₹3.3 L/yr - ₹6.5 L/yr |
InterGlobe Aviation
Spicejet
Vistara
Go First