Search.../

path

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

Description

Premium sites: Premium site path

Free sites: Free site path

Type:

Array<string>Read Only

Was this helpful?

Get the path of the URL from a call to an HTTP function

Copy Code
1// In http-functions.js
2
3export function use_myFunction(request) {
4
5 let path = request.path; // ["sub"]
6
7}