To add a specific domain for the endpoint just put the tag “host” for which domain the endpoint will respond to the request:
- endpoint:
host: sub.moclojer.com
method: GET
path: /multihost-sub
response:
status: 200
headers:
Content-Type: application/json
body: >
{
"domain": "sub.moclojer.com"
}
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |