Search...
baseUrl
Returns the base URL of a call to an HTTP function.
Description
Premium sites:
Free sites:
Type:
stringRead Only
Was this helpful?
Get the base URL of a call to an HTTP function
Copy Code
1// In http-functions.js23export function use_myFunction(request) {45 let baseUrl = request.baseUrl;6 // Premium site: "https://www.domain.com/_functions"7 // Free site: "https://user_name.wixsite.com/mysite/_functions"89}