Skip to main content
After creating an API, point it at the servers that actually run it. The gateway acts as a reverse proxy: consumers never see your servers directly, while their requests are forwarded to them. Follow the steps below to define your targets.
  1. First, open your API in Studio.
  2. Go to the Target tab. Ss 2024 06 23 03 14 44 2048x714 Pn
  3. There are two sections here. The first is Root URLs — add as many target addresses as you need. With more than one URL, the gateway distributes requests randomly across your servers, giving you simple load balancing.
  4. Targets may use either http or https. The consumer-facing URL we issue for your API is always served over https.
  5. The second section is Secret Headers. Headers added here are attached to every request the gateway forwards to your server — useful for identification or security. They are never visible to API consumers.