Page 1 of 1

generated token to use in another service

Posted: Tue Nov 22, 2016 8:01 am
by Ali Mahmoudi

Hi Guys,

I'm trying to get a token from my external rest api and the services got the access token so now how I can use this access token and call it in another service because I get the token in my app and then I need to call the other service using that code.

any suggestion on this would be highly appericiated.


generated token to use in another service

Posted: Tue Nov 22, 2016 12:52 pm
by Terry Gilliver

I am not sure if I understand, you have retrieved a token from an external rest service. You now want to pass that token to a second rest service. Is that correct?

I think you will need to have a function call in the second rest service that takes that token and makes use of it.

You can make a call from Appery to the url of the second service, passing the token, but there has to be an endpoint on that service that uses it.