Configuring REST endpoint to use relative address