I would use path_info. See Apache2::RequestRec manual page.
Regards, Jacques On 2022/04/21 12:21, Henrik S wrote:
given the sample url: /api/user/idthe part of "/api/user" is fixed. and there is a handler setup for this path.how to get the id part in mod_perl? in other framework I could get it with the similar format: /api/user/:id puts "hallo #{id}" Thank you.
OpenPGP_0x5F3C0261CDB2E752.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature