[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

http_url_post_raw api does not think it received valid data when it really did



Sender: "Tom Carriere" <carriere@xxxxxxx>

Hey all,

I finally was able to the http_url_post_raw api to work.

The http_url_post_raw api does not think it received valid data when it
really did.

When using the debugger
and tracing into the http_url_post_raw, it thinks that it
did not receive data when it really did because the call back
procedure INCOMING receives control beforehand and
it really does have the correct data after it gets converted
to EBCDIC.  Did somebody fix the http_url_post_raw api
and I am not aware of this?

In the interim, I ignore the return code
from http_url_post_raw

                   eval      rc = http_url_post_raw(
                             'http://172.21.10.17/fleetsuite.asmx/' +
                              'GetDirFromAdrToAdr?'
                               : %addr(data): %len(%trimr(data))
                               : 1
                               : %paddr('INCOMING')
                               : 10)
*                              : 'application/x-www-form-urlencoded')
***                if        rc <> 1

------------------------------------
Tom Carriere
Principal
ALK Technologies Inc.
609 252 8122
carriere@xxxxxxx
-------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------