22.09.2022, 13:05
(22.09.2022, 12:54)admin Wrote: log what the http request result/error is:
Code:res, code, hdrs, stat = http.request({ ... })
log(res, code, hdrs, stat)
This is what I got
Code:
* arg: 1
* string: Object not found
* arg: 2
* number: 200
* arg: 3
* table:
["date"]
* string: Thu, 22 Sep 2022 13:04:27 GMT
["transfer-encoding"]
* string: chunked
["content-type"]
* string: text/plain
["connection"]
* string: close
* arg: 4
* string: HTTP/1.1 200 OK
Best Regards,