How to get the access token for REST API Consume from outside API given.
Question

Dear All, 

Hope All doing good. 

My overview issue is How to update newly created record in outsystems db to another db using API. (2 API's (one is POST  get token api & 2nd api is upload file api . These two APIs provided by other team)

Please help 1. how to create consume API and get access token. and 

2. How to upload the newly created record using given 2nd POST api.

--------

I need to generate token and this token is valid for 1 hour. 

1.I have api is similar : POST - https://xxxxxxx.auth.xx-xxx-1.amazoncognito.com/oauth2/token .

2. 2n api is similar POST - https://xxxxx-xxxx.xxx.com/sit/upload/v1/xxxxxx/xxxxxxxx



Thank you. 

mvp_badge
MVP

Kundan,

Please check what you're posting, that link is specifically for the LifeTime API, and completely useless for Ganghadara's use case.

Yes my link is not fully correct .

thanks for suggest right link.

I'm also reshare your link.


thanks a lot !!

Thank you KUNDAN CHAUHAN. Sure will check this link. 


mvp_badge
MVP

Unfortunately that link is completely useless, it's for LifeTime only. In your case, you should make yourself familiar with the Plastform's functionality for consuming REST APIs. There's also an instruction video you can follow. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.