To register a service to the gateway it needs a POST request to the register endpoint.
Example of a POST request:
axios({
method: "post",
url: `${gatewayUrl}/register`,
data: {
name,
url
}
});
To Do:
- Handle service registration
- API Key authentication
- Rate-limiting requests
- Better heartbeat for registered services