Árvore de páginas

Você está vendo a versão antiga da página. Ver a versão atual.

Comparar com o atual Ver Histórico da Página

« Anterior Versão 2 Atual »

Return the path address of requisition

Sintaxe
oObj:getPathRequest()
Retorno
NomeTipoDescrição
cPathRequeststringThe path address of requisition
Exemplos
#include "tlpp-core"
#include "tlpp-rest"
// http:localhost:9090/api/mypath/teste
@Get("mypath/teste")
User function 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

  • Sem rótulos