Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

How to send a document in net.HTTP.request as a POST variable?

$
0
0

I have read and reread the doc on net.HTTP.request, and it says I can pass an argument of oRequest, but I have not succeeded at passing in the current document, which is what I want to do.

 

I've tried app.activeDocs[0], or encoding that to a string, but though it makes the call without error, nothing is sent.

 

Should oRequest be simply a document, or a variable made up of name-value pairs? How do we send multiple parameters to a POST otherwise?

 

I've succeeded fine with calling using GET, but when I tried to pass the document as a GET variable, I got nothing either.

 

I'm sending to a LiveCycle REST end point so either POST or GET is fine.

 

Thanks!


Viewing all articles
Browse latest Browse all 12130

Trending Articles