The endpoint return does not have to be static, it can use dynamic data passed by query string, URI and other parameters.
Variables:
path-params: the parameters passed to the endpoint/hello/:usernamequery-params: the parameters passed in query string to the endpoint?param1=value1¶m2=value2json-params: the parameters passed in data request to the endpoint{"param1": "value1"}