Tarig,
You already can add header parameters to a REST call in the native Mendix functionality
https://docs.mendix.com/refguide/call-rest-action
If not you can use a combination of both the REST module and the native REST. So if you add the headers using the Java action i believe these will also get included when you do your native rest call.
Simon