restReqUrlGet (Function) |
Top Previous Next |
This function will read the URL and method of a request. For outgoing requests, this is the URL and method specified in restReqCreate. For incoming requests, this is the relative URL and method used by the client, including any query parameters.
Input: req : SYSHANDLE A handle to the request.
Output: method : STRING The HTTP method of the request, e.g. "GET" or "POST".
url : STRING The URL of the request.
Returns: INT
Declaration: FUNCTION restReqUrlGet : INT;
Example: |