Skip to content

psRequestPath - cWebHttpHandler

Contains the path of the request while handling a request

Type: Property
Access: Read/Write
Data Type: String
Parameters: None

Syntax

Property String psRequestPath
Access Type Syntax
Read Access: Get psRequestPath to StringVariable
Write Access: Set psRequestPath to StringVariable/Value

Description

This property contains the path of the request while handling a request.

This path will be relative to where the handler is configured. So, if your handler is set to psPath "MyRestService" and the full URL is http://localhost/WebOrder_19_1/MyRestService/Customers/12, then the request path will be "/Customers/12".

Note that the full path can be queried using the ServerVariable "PATH_INFO".