Welcome! Log In Create A New Profile

Advanced

REST endpoint component

Posted by Bruno 
Bruno
REST endpoint component
March 22, 2022 04:07PM
Hello,

I am implementing a REST endpoint, like for example, v1/identification/login and I need to access the URL (in the case v1/identification/login).

Is it possible?

I have no problems acessing variables (using WebserviceParameter) but in some cases I need to read the URL.

Thanks in advance.

Regards,

Bruno
pao
Re: REST endpoint component
March 22, 2022 05:00PM
You can get a lot of information using the SysEnvironment (Function), check if it helps.
[doc.windev.com]

Regards

Paulo Oliveira
Bruno
Re: REST endpoint component
March 22, 2022 06:03PM
Hi Pao.

Thats it, SysEnvironment("PATH_INFO") returns what i need.

Thank you.

Regards,

Bruno
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: