[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with POST in HTT API
Hello Scott,
the very same data (from the very same
HTTP_URL_Encoder) works perfectly when I submit a GET! Thus it simply cannot
be the data. This is what baffles me. Apparently the data POSTed arrives
differently form the one sent by GET. It's getting tough for me to debug
as I have no access to the receiving side, unless I fly to South Africa
and they let me play with their servers.What's in the debug log, is perfectly
correct. Apparently, though, it does not arrive as such at the receiving
end. I am clueless.
Knowing the facts, though, might help
to figure out what is done *differently* for GET and POST. Apparently
there is something which leads to the problem. Um... does anyone know a
packet sniffer for the iSeries? On my PC I could easily find out what is
going wrong, but...
owner-ftpapi@xxxxxxxxxxxxx schrieb am 24.06.2005 01:00:55:
> Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>
>
> Hello Christian,
>
> > Now the POST works more or less. Though there must be still some
major
> > hickup, as the field values do not arrive correctly at the server.
> [SNIP]
> >
> api_id=******&user=*****&password=********&to=069981250924&from=HTTP_API&text=test
> [SNIP]
> > ERR: 001, Authentication failed
>
> That's not an HTTP error, so it doesn't help me understand how to
fix
> HTTPAPI. You're submitting data that, apparently, the application
on the
> server does not like.
>
> When you look at the values of the app_id, user and password fields,
do
> they look correct? or is there data in them that's being mistranslated
> somehow?
>
> If this is due to data being translated incorrectly, I may be able
to fix
> it by changing HTTPAPI to use CCSIDs instead of codepages. That
would
> solve some of the other problems that people have reported as well.
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list. To unsubsribe from the list
send mail
> to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
> -----------------------------------------------------------------------