req.url.basename

The file name specified in a URL.

Examples

In the request www.example.com/1/hello.gif?foo=bar, req.url.basename will contain hello.gif.

Type

STRING

Accessibility

Read Only

Readable From

All subroutines