I'm trying to post a data stream that contains an XML
The syntax I'm using with Rexx/CURL:
call curlsetopt(curl, 'HTTPPOSTDATA', 'data.')
if curlerror.intcode \= 0 then
call AbortCurl('Error 001 setting curl options')
the "data." stem variable contains all the records
I receive the following error (cURL error: 5 - INCOMPLETE).
1. I've gotten this to work through HTTPPUT and INFILE,
by writing the stem variable out to a file first. Is
this the appropriate method?
2. Are there any examples of how to use HTTPPOSTDATA? I
think that my problems is in the data contained in the
stem variable, but I'm not sure what it should be.