Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8368

Re: XSJS - Outbound HTTP Request - POST

$
0
0

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


Viewing all articles
Browse latest Browse all 8368

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>