What is the cause of error "56" when trying to send a HTTP POST with a body?

hi!

i get an error “56” when i try to send HTTP POST with a body…

2014-05-30 10:28:47 UTC-4 [Agent] Encoded message: " { “hello” : “web” } "
2014-05-30 10:28:47 UTC-4 [Agent] Code: 56. Body:
2014-05-30 10:28:47 UTC-4 [Agent] body :
2014-05-30 10:28:47 UTC-4 [Agent] statuscode : 56
2014-05-30 10:28:47 UTC-4 [Agent] headers : (table : 0x7f4ded0a6080)

`
local extraHeaders = { “Content-Type”:“application/json” };
local encodedMessage = http.jsonencode(myMessage);
server.log("Encoded message: " + encodedMessage);

local request = http.post(WEB_URL, extraHeaders, encodedMessage);
`

answer to myself: the DNS used by the agent could not resolve the URL i used…
thanks! :slight_smile:

For future reference - Error codes < 100 correspond to cURL error codes.