Bootstrap FreeKB - Broadcom API Gateway - Creating a simple REST service
Broadcom API Gateway - Creating a simple REST service

Updated:   |  Broadcom API Gateway articles

Broadcom API Gateway (formerly CA Technologies API Gateway) is a service that sits between a client and a server. A server could be any type of server that serves content, such as a web server, an application server, an FTP server, et cetera.

 

For example, let's say you want requests for www.example.com to route through the API Gateway.

  1. In the Policy Manager, select Publish Web API to create a REST service
  2. Give your service a unique name, such as myService.
  3. Target URL = The URL that requests will route out to (outbound), such as http://www.example.com
  4. Gateway URL = The context root of the URL that requests will route into (inbound), such as /foo/bar
  5. Select Finish.

You can now get www.example.com through the API Gateway. Let's say your API Gateway is configured with https://api.example.com. Since you defined /example as the endpoint for myService, you would use https://api.example.com/example to route requests through the API Gateway and onto www.example.com. To put this another way, in this example, https://api.example.com/example is the inbound URL and http://example.com is the outbound URL.

  • Inbound URL = https://api.example.com/example
  • Outbound URL = http://www.example.com

You should get the www.example.com landing page.

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter a511d7 in the box below so that we can be sure you are a human.