@loopback/docs
Version:
Documentation for LoopBack 4
23 lines (15 loc) • 646 B
Markdown
lang: en
title: 'API docs: rest.restserver.url'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.restserver.url.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [RestServer](./rest.restserver.md) > [url](./rest.restserver.url.md)
## RestServer.url property
The base url for the server, including the basePath if set. For example, the value will be 'http://localhost:3000/api' if `basePath` is set to '/api'.
<b>Signature:</b>
```typescript
readonly url: string | undefined;
```