[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to give user id/password with http_post_xml
Hi All
Any help is greatly appreciated. We are using http_post_xml with REST
and XML. We are trying to get data from a cloud based application. They
have a user id/password to connect. How can I achieve this? This is the
code we have. Where do I give user id / password. Without that I am
getting connect error.
ReqUrl = '
rc = http_post_xml(%Trim(ReqUrl)
: %addr(request) + Varyingdataoffset
: %len(request)
: *NULL
: %paddr(MapXmlData)
: %addr(ReplyMessage)
: HTTP_TIMEOUT
: HTTP_USERAGENT
: 'text/xml; charset=UTF-8'
);
if (rc<>1);
ErrorFound = @True;
FailureMessage = @True;
etc etc
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------