This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

HTTP PUT image to 2N intercom
#3
I updated the filedata line 
Code:
filedata = 'io.readfile(/img/STOP_DNE_241x320.jpeg)' -- image data as a binary string
But I get this error now
Code:
08.02.2023 22:19:12
* arg: 1
  * number: 1
* arg: 2
  * number: 200
* arg: 3
  * string: {
  "success" : false,
  "error" : {
    "code" : 12,
    "param" : "blob-image",
    "description" : "invalid parameter value"
  }
}
Reply


Messages In This Thread
HTTP PUT image to 2N intercom - by coolaew - 07.02.2023, 23:57
RE: HTTP PUT image to 2N intercom - by admin - 08.02.2023, 11:21
RE: HTTP PUT image to 2N intercom - by coolaew - 08.02.2023, 21:20
RE: HTTP PUT image to 2N intercom - by admin - 09.02.2023, 07:58

Forum Jump: