Call API with token in header

Hi
I use ClaTlk.HttpWebRequest to call : https://cloud.mi.com/apis/es/store/list?active=1, but I need to put token in header. I recive token in login.

Can somebody help me how to format HttpWebRequest call to be token in header?

Best regards,
Nikola

image

Not sure that I know, but if it is a simple html token you would specify it as …

“https://the_url_you_are_calling?active=1&token=whatever_your_token_is”

…the first token is preceded by a question mark ‘?’ and subsequent tokens are preceded by an ampersand ‘&’

Thank you for response.
I solved with Capesoft NetTalk…

Nikola