Hi
I need to pass a dynamic Header to my webservice request in ifttt macro.
the value of this header could be retrive from another confiform field or result of another ifttt macro in same page. Are there any way to do this?
ifttt_1 --> give me a token and I have this now using {iftttResult_0}
ifttt_2 - > I should use one of parametr of previous ifttt as header in order to call second webservice.
Any Idea?
At the moment headers parameter is not evaluated as expression. We will add this shortly
Just to update the old answer that the evaluations of headers has been added a while ago and is supported
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I know this thread is rather old, but I'm trying to do basically the same thing as @Ansar Rezaei in the original post, where I'm getting an Okta token, then trying to use that token in a dynamic header in another API request.
Getting the Okta token is working, but I can't so far figure out how to insert the token value in a dynamic header. I'm trying this in the Request Headers field, but unsure of proper syntax:
Authorization: Bearer [entry.oktaToken]
Is there some documentation on dynamic headers I can refer to?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions+and+rules#ConfiguringConfiFormsIFTTTactionsandrules-WebServiceRequest you can add request headers (parameter)
Try adding there
Authorization: Bearer [entry.oktaToken]
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry I should have mentioned, that's exactly where I'm doing it. So it does look like I'm doing it in the right place and that syntax should work. I may have something else that needs tweaking. I'll keep poking at it.
Thanks!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Feel free to open a support ticket with us and share a bit of a form configuration, so we can take a look and try to help you with troubleshooting
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.