Hi PO Experts, my requirement is to call REST dynamic API URL with the Token authentication . I was able to get the token using an UDF and pass it in the header using Dynamic Configuration UDF :
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/REST","Token");
output = Token;
return output;
Use this Token output in Receiver adapter Bearer token . ( This is working ) .
But I have input field "input1" which need to be dynamically passed to REST endpoint URL . How can I pass two different variables in this Dynamic config UDF ?
This input 1 should NOT be passed in the payload so Xpath expression in Receiver adapter failed in my case . Also for Token retrieval standard REST Receiver Authentication parameters didn't work so I had to go with custom UDF .
Please advise .