Reply To: REST Connector

#1058
grzegorz914
Participant

To check dynamic domain iP adress I use google api:

Rest Connector config:

Name       DyndnsIP
baseApiUrL  "https://dns.google.com"
method      "POST"
restPath    "/resolve?name=YourDomainName&type=A"
httpHeader  {"Content-Type":"application/json"}
requestBody  {}

to resolve address from response I use text field where value is:

if DyndnsIP.statusCode == 200 then DyndnsIP.response["Answer"][0]["data"]

I thin it Ii clear.

  • This reply was modified 1 year, 4 months ago by grzegorz914.
  • This reply was modified 1 year, 4 months ago by grzegorz914.