[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Need XMLREQUEST= using http_url_post
I am using http_url_post like this:
C eval rc = http_url_post(
C %trimr(XURL) :
C %ADDR(xxdata) :
C %len(%trimr(xxdata)):
C Filename)
Where Xurl is = HTTP://myurl.com
and xxdata is = to XML data, and
Filename is a file to receive the response on the IFS.
I think this is creating a post like this:
http://myurl?request=...xmldata here....
my question is: is this so? how can I see the actual request that is being made? the httpapi_debug
does not show the actual request with the url and the formatted request.
and How can I make sure the request is using http://myurl.com?XMLREQUEST= ...XML data here...?
Do I have to use the http_url_post_xml to get a a XMLREQUEST= in the url post?
I was able to use the http_url_encoder_addvar(enc : 'XMLREQUEST' : 'XML DATA HERE')
using the http_URL_GET to create the XMLREQUEST, but I need to use a Post, not a Get.
I hope this is enough info to clearly communicate my question.
Thanks
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------