The HTTP protocol implementation could be used to set-up endpoints and service callers. The HTTP protocol implementation supports calls, proxy forwarding and endpoints.
Services
The HTTP protocol could be used inside services to communicate with HTTP services. By default the JSON codec is used but any other available codec inside the Semaphore instance could be used. HTTP services could also be used for proxy forwarding.
The HTTP server is exposed on the configured port. Check out the Semaphore CLI documentation or the documentation of your own implementation for more information.
$# Expose a HTTP server on port 8080$semaphorerun-cconfig.yaml
http:
address: ":8080"
Service certificates
Root certificates could be included to provide secure connections. Certificates could be passed as options or be overridden through service selectors.
Advanced HTTP options could be configured to have fine grained control over specific values and intervals. The available options are listed below.
Endpoints
Endpoints expose flows. Endpoints could be configured to different methods, accept parameters and return/accept different message content types. URL queries are automatically mapped to the schema and could be used inside the flows.
The following options are available inside a endpoint