Hi All,
I am trying to call a REST API and it has Basic Authorization. User and password were defined in ‘IFS REST Task Configurations’ as the first step.
My problem is, I need to create an ‘AuthHeader’ using User and Password in an inline script. However it looks like you cannot refer values defined in REST Task Configurations in an inline script.
Although it is possible to hard-code user and password in an inline script, I am trying to figure out how to externalize user/password using 24R2 new feature ‘REST Task Configurations’.
Does anyone know how to utilise REST Task Configurations for defining user and password for basic Authorization?
Solved
IFS Cloud 24R2 - REST API call via workflows - externalize User/Password
Best answer by kamnlk
Hi,
if possible, you can try to pre create the “AuthHeader” and store it in the ‘IFS REST Task Configurations` and refer that in the workflow ?
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.