Histórico da Página
...
return the path address of requisition
Sintaxe
...
getPathRequest()
Retorno
Nome | Tipo | Descrição |
---|---|---|
cPathRequest | string | The path address of requisition |
Exemplos
...
#include "tlpp-core
...
.th" #include "tlpp-rest.th"
...
// http:localhost:9090/api/mypath/teste
...
@Get("mypath/teste")
...
Function u_getPathExample()
...
...
...
Local
...
creturn := ""
...
...
...
creturn := oRest:getPathRequest()
...
conout(cReturn)
...
// Vai exibir a URN da requisição, por exemplo http:localhost:9090/api/mypath/teste
...
creturn := "{'Path':" +
...
creturn + "}"
...
...
...
oRest:SetResponse(cReturn)
...
Return
Abrangência
01/2020
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas