> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: baseUrl() # Method package: wixHttpFunctions # Method menu location: wixHttpFunctions --> WixHttpFunctionRequest --> baseUrl # Method Link: https://dev.wix.com/docs/velo/velo-only-apis/wix-http-functions/wix-http-function-request/base-url.md # Method Description: Returns the base URL of a call to an HTTP function. Premium sites: ![Premium site baseUrl](https://wixmp-833713b177cebf373f611808.wixmp.com/images/velo-images/media_compute_premium_baseurl.png "Premium site baseUrl") Free sites: ![Free site baseUrl](https://wixmp-833713b177cebf373f611808.wixmp.com/images/velo-images/media_compute_free_baseurl.png "Free site baseUrl") # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## Get the base URL of a call to an HTTP function ```javascript // In http-functions.js export function use_myFunction(request) { let baseUrl = request.baseUrl; // Premium site: "https://www.domain.com/_functions" // Free site: "https://user_name.wixsite.com/mysite/_functions" } ``` ---