httpreqlabel
httpreqlabel |
Purpose
Synopsis
function httpreqlabel(reqid:integer):text
Argument
reqid
|
Request number
|
Return value
Label of the request
Further information
1. The
label of the GET or DELETE request is the URL after having removed server reference and query data (for instance the label returned for
"http://srv/some/path?a=10" is
"some/path"). Any query data is automatically saved into the associated request file (
httpreqfile) in a format compatible with initialisations blocks. When such a file has been created the request status (
httpreqstat) has value 3.
2. In the case of a POST or PUT request the returned value also includes the undecoded data.
Related topics
Module