I don't think the parent here is talking about whether the language is static/dynamic.
The point is that most REST calls are wrapped in a statically 'dispatched' function call.
So in most cases you'd do something like:
let foo = () => http.GET('/foo');
.
.
.
foo() //foo is statically dispatched in the source code here