Week 6

Aggregations

Transactions

Indexes

Integrating with APIs

Integration Testing

Practice

Assignment

Back end Track

Under construction

<aside> 🚧

This page is currently under construction. Please check back later.

</aside>

Implementation plan:

  1. Why integrate with external APIs — real-world applications rarely stand alone
  2. Making HTTP calls from Spring Boot: RestTemplate (legacy) vs RestClient (modern)
  3. Configuring RestClient
  4. Making GET requests and deserializing JSON responses
  5. Making POST requests with a request body
  6. Handling error responses from external APIs
  7. Timeouts: connection timeout and read timeout
  8. Resilience basics: what happens when the external API is down
  9. Exercise: integrate with a public API (e.g., weather, exchange rates)

The HackYourFuture curriculum is licensed under CC BY-NC-SA 4.0

CC BY-NC-SA 4.0 Icons

*https://hackyourfuture.net/*

Found a mistake or have a suggestion? Let us know in the feedback form.