I have a middleware
middleware/dept.js
which needs to query an API that takes a URL parameter "dept". E.g:
http://localh