GET/ POST Calls in Service Task

I want to make two post calls consecutively from only one service task, is that feasible?
The first post call returns a bearer token which is to be consumed by the second post call.

@Shrisha_Wagle yeah that’s possible. You can implement the REST API invocation logic in Java Delegate. And this Java delegate you can reuse it whenever you want to make a REST API call to other systems/reading bearer token.