2

Is it possible to use endpoints configured in G-Reg while creating an API in API manager?

Community
  • 1
  • 1

1 Answers1

0

Currently, there is no straightforward way to do this. But it's already suggested as an improvement.

But let me suggest a workaround. Here are steps in brief.

  1. Store your endpoint in the registry.
  2. Write a custom sequence to read endpoint from the registry, and set To header accordingly.
    • These posts might help on how to read the registry.
    • See this for how to set To header.
  3. Pick default endpoint as the endpoint type of your API.
  4. Attach the custom sequence to your API.

That's it.

Bee
  • 12,251
  • 11
  • 46
  • 73