Jump to content
Sign in to follow this  
al17nichols

Using Rest Components

Recommended Posts

I did some digging on the rest components an observed that getfullrequesturl never displayed the parameters and values when attempting to see what is actually being passed to the server.  Is there a property that changes the post to https instead of http?  Lastly when I right clicked the restrequest and selected with test data I did get results that began with "Data":{"AccessToken":"eyJhbGciOiJfolllowed by a long string of token information...."}.  Where do I input parameters and parameter values?  I tried to retrieve the data using RESTResponse1.GetSimpleValue('Data', LToken) or RESTResponse1.GetSimpleValue('AccessToken', LToken) .  Never was able to retrieve the data using this process.  If anyone know how to retrieve this data please let me know. 

 

FYI there are 4 questions detailed here.  Please help.

Edited by al17nichols
add question

Share this post


Link to post

AFAIK:

Your URL should specify "https:/xxxxxxx", if so required. Or a forwarder on the server side will route to https

Parameters and values are input as part of the TRESTRequest.Resource parameter. These are added to the Base URL, which is in TRESTCleint.BaseURL

 

Share this post


Link to post

Truly thanking you for your help.  I had added the parameters, but the parameters do not display when I call restrequest.getfullrequesturl with a post.  These parameters and values appear with I issue as a rmGet.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×