02.11.2017, 06:55
Try running this then post both log entries. What it looks like is that the response is incorrect. JSON functions expect valid input which does not have "Content-Type" set anywhere so it's not the problem.
Code:
require('json')
require('socket.http')
url = 'http://192.168.1.xx/inst.json'
data = socket.http.request(url)
log(data)
log(json.pdecode(data))