WebClient result empty

remlab
13 hours ago
13 hours ago
  • remlab - 13 hours ago

    Hello,
    I try to read into a IPX800v4 (this is a PLC for domotic application) with a WebClient fonction
    I use as url http://192.168.0.250:50543/api/xdevices.json?key=XXX&Get=C
    XXX is replace by the correct key for sure
    The status code is 200, it should works correctly
    But the result is '{' that's my problem
    When I try the same url with a web browser the result is correct like
    {
    "product": "IPX800_V4",
    "status": "Success",
    "C1": 16,
    "C2": 2,
    "C3": 0,
    "C4": 0,
    "C5": 0,
    "C6": 0,
    "C7": 0,
    "C8": 0,
    "C9": 0,
    "C10": 0,
    "C11": 0,
    "C12": 0,
    "C13": 0,
    "C14": 0,
    "C15": 0,
    "C16": 0
    }

    When i replace the url by a web site like google for exemple it works

    Can you help me please ?

     

    Last edit: remlab 13 hours ago

Log in to post a comment.