Page History
Returns the capture path for the request and response content. It pulls this from SRP_HTTP_FRAMEWORK_SETUP <3>
Syntax
Code Block |
---|
Response = HTTP_Services('GetCapturePath') |
Returns
N/AThe OS path on the web server where copies of the requests and responses will be stored in text files.
Parameters
N/A
Remarks
The RunHTTPService service is the official way to call specific web service APIs. The HTTPService argument should contain the same name found in the URL segment that corresponds with the API resource. For instance, for the /customers
URL, the HTTPService argument should contain the value of customers. This will call the HTTP_CUSTOMERS_SERVICES
BASIC+ routine.
It pulls this from SRP_HTTP_FRAMEWORK_SETUP <3>. If the path exists, then the HTTP_MCP controller will create files with the following name formats:
Request_@_yyyy-mm-dd_hh-mm-ss.txt
The RemainingURL argument will contain the value of the remaining portion of the URL that follows the current URL segment. Examples of managing this are found in the HTTP_Entry_Point_Services routine.
Response_@_yyyy-mm-dd_hh-mm-ss.txt