Rest Endpoint
Rest Endpoint is used to create and start HTTP receiving service, it can register different routes to handle different requests.
# Type
endpoint/http
# Startup configuration
This component allows the reuse of shared connection clients through the server
field. See Component Connection Reuse for reference.
Field | Type | Required | Description | Default |
---|---|---|---|---|
server | string | Yes | http service address, e.g. ":8080" | - |
certFile | string | No | Cert file path | 0 |
certKeyFile | string | No | CertKey file path | - |
# Examples
The following are example codes using endpoint:
Edit this page on GitHub (opens new window)
Last Updated: 2024/10/31, 11:56:12