SpinTheMic
Pro

Explain it in 60 seconds

What belongs in an API gateway vs the service

Backend Engineering · API Design · Intermediate

As a backend developer, what logic would you put in the API gateway and what in your service?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Gateway: auth token validation, rate limits, routing, TLS.
  • Service: business rules, fine-grained authorisation.
  • Avoid business logic in gateway.
  • Service still trusts identity from gateway carefully.
  • Request/response transformations minimal.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics