HTTP_TRACE
Sends a TRACE request: the server sends the request back as it received it.
Use it to see what a proxy changes. Many servers don't allow TRACE and answer with 405.
Parameters and results
connectionSTRUCT c0de_net/http/HTTP_CONNECTION: the serverendpointSTRING: the path behind the base endpoint (optional, default empty)- result
resultSTRING: the raw data of the answer - result
statusINTEGER: the HTTP status - result
headersHASH STRING: the headers of the answer
Example
c0de
CALL c0de_net/http/HTTP_TRACE
PARAMETER connection api ;
RESULT result echo