OAuth2 with two urls

I need to generate token via OAuth2 and I have two urls one is to generate token another one is to consuming that generated token. How to configure this in UiPath

@RRupam

Welcome to the community

First use one http request to get the token then use the output in tge second http request

Cheers

I tried but getting 405 error

@RRupam

Did you try first on postman?

If yes try to use the curl from there and import into http request…

And to confirm are both requests sent one after other or is it an implicit call?

Cheers

Yes it is working in Postman. From where I will get the curl in Postman

@RRupam

In postman right side you would have <\>

Click on it and you would see the curl

In the curl remove —location and then use it in import

Cheers