Skip to main content

Hello,

 

i want to use the "Web Request Control" in Nintex Forms. I make a query to the Graph API and for this I need an access token. This access token has to be ideally dynamic.

Can I make the access token to the GraphAPI in the ServiceURL dynamic or how do I make it possible to use a variable in the request header?

 

With a hard coded access token it will work, but my access token will expire.

 

Any thoughts on this? Many thanks in advance


8349i7ED6153A6ED504F3.png

Regards,

 

Andre

 

For now this can't be done.



You can't use variable in the header of your request. So you can't retrive and pass your access tokens (except in static like you have done)



I don't think this control is designed to use an API that requires authentication.



maybe in a future update.


I'm trying to figure out how to add static authorization to the header section. this is my first time using this and feature. can you provide any clarity?


In my screenshot it would be static. In the request header there is an

Authorization Bearer "Token"

for it.




How to use the Web Request otherwise is well described here:




https://help.nintex.com/en-US/office365/Designer/FormControls/WebRequest.htm


Thank you, I went through the whole blog and i got the example to work in my form. I don't see an example of how to apply an authorization token. can you assist me with that?


oh i converted the username and password to base64


Reply