psPath - cWebHttpHandler
Determines the path for which requests are handled by this object
Type: Property
Access: Read/Write
Data Type: String
Parameters: None
Syntax
Property String psPath
| Access Type | Syntax |
|---|---|
| Read Access: | Get psPath to StringVariable |
| Write Access: | Set psPath to StringVariable/Value |
Description
Determines the path for which requests are handled by this object.
This is relative to where your application is published under IIS. So, if your application runs as a virtual directory "MyWebApp" and you set the path to "RestService" then this handler will respond to all URLs starting with: http://localhost/MyWebApp/RestService. This means that a request sent to http://localhost/MyWebApp/RestService/Customers/1 will be handled by this object.
Wildcards cannot be used in this path, but subfolders and file names can be included.