What is the purpose of the Host: parameter in the apiary?
1 answer
HOST
the header indicates what is the ultimate destination for your API deployment.
It is used by Apiary as a source location for proxy debugging and appears in code snippets as a place for requests.
You can also add suffixes which then propagate to all resources if you are not using root or want to use the URI version .
The layout and proxy also emulate the specified schema ( http
vs. https
).
Resources
- HOST in specification
- How it works (see the Traffic Inspector section)
- What's new blogpost (see Pass-Through Proxy)
+2
source to share