Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: winHttp

$
0
0

Hi Mike,

setRequestHeader is a method and not a property so you need to set the dispatch type before the call. You will need something like:-

     ***** Set Request Header

          invoke olesup "setDispatchType" using by value 0

          invoke ws-winhttp "SetRequestHeader" using

             z"content-type" z"application/x-www-form-urlencoded"

Regards

David


Viewing all articles
Browse latest Browse all 4356

Trending Articles



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