path


pathArray<string>Read-only

Returns the path of the URL used to call an HTTP function.

Premium sites: Premium site path

Free sites: Free site path

Get the path of the URL from a call to an HTTP function
JavaScript
// In http-functions.js export function use_myFunction(request) { let path = request.path; // ["sub"] }
Did this help?