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

RE: HTTP_URL_POST not working



Thanks Scott, 
I did not realize that pasting the url to an email and clicking on it
resulted in a GET request.
  
I do believe I want the HTTP_URL_POST() as I am sending data to the
vendor.  
I will see if I can get Wireshark to compare against the HTTPAPI debug
file.   


MIke
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott
Klement
Sent: Monday, March 22, 2010 3:32 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: HTTP_URL_POST not working

Hi Mike,

When you paste a link into an E-mail, then click that link, you are
performing a GET request.  However, you say that you're calling
HTTP_URL_POST() from HTTPAPI.

Did you mean to use HTTP_url_get() instead?

You ask for "anything else that you can use to diagnose this problem". 
My suggestion is to get Wireshark to see what the PC apps are sending
and compare that against the HTTPAPI debug file.


On 3/22/2010 1:16 PM, Smith, Mike wrote:
>
>     I have several programs that I use to post data to a vendor.  All
of
>     these work except for this one in particular.  I have been working
>     with the vendor, but so far they haven't come up with an
explanation
>     and I'm about to pull my hair out.
>
>     The vendor provided me with a spreadsheet they use as an example
of
>     how their api processes work.  I can get this to work(I am posting
>     addresses to a map).
>
>     When I debug both my rpg program and the excel spreadsheet macro,
the
>     url is pretty much identical(with the exception of some spaces in
a
>     text field).
>
>     Also, I can take the url from my rpg program and paste into an
>     email(so that it shows as a link), click on it and it will post
the
>     data correctly.
>
>     Nothing suspicious appears in the debug log either.
>
>     The response code from the website simply indicates that it
couldn't
>     perform the requested action.
>
>     Is there anything else I can look at to diagnose this problem?
Does
>     it make sense that if the URL works if pasted out of the program,
that
>     it wouldn't work inside the program?
>
>     Thanks
>
>     Mike
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------



NOTICE:  This message, including any attachment, is intended as a confidential and privileged communication. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this message.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------