HTTP proxy passthrough

HydraRouter allows you to specify routes to non-hydra services. Essentially this allows external clients to make API requests through hydra to backend servers.

To enable this functionality, simply define externals routes under theexternalRouteskey in the configuration file. TheexternalRouteskey consists of an object of urls and their array of routes.

:
'externalRoutes': {
  'https://someotherservice.com': [
    '[post]/api/v2/token/create',
    '[get]/api/v2/user/self.json'
  ]
},
:

results matching ""

    No results matching ""