Node Red - Query for an IP cam token

Hi,
can you request a token from an IP cam with Node Red and http request?

Specifically, it is about a Reolink Cam and I would like to use the API that Reolink provides to switch the push notification on and off.
To do this I need the token

info it works like this:
Get tokens:
TOKENS:

url = cgi-bin/api.cgi?cmd=Login&token=null
payload = [{"cmd":"Login","action":0,"param":{"User":{"userName":"MyUser","password":"MyPW"}}}]

unfortunately I haven't found anything useful on the internet how to do this with Node Red?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.