web.url

web.url

web.url

Function

Read the current request path.

Syntax

Parameters

No parameters.

Return value

TypeDescription
StringReturns the path string without the leading /.

Example

Notes

  • Root path / returns an empty string.