Hi,
You mentioned you tried to send a record to HTTP destination using POST method, unfortunately I did not find this in your code. I'm not sure if you want to send the result with this code line:
var request =new $.net.http.Request($.net.http.POST, "result");
If so, you cannot bind the result when you construct the Request object. You need to first parse the result set and then use the method setBody() to bind the record you want to send.
You can find the API here. JSDoc: Class: Request
Best regards,
Wenjun