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

Re: HTTP/1.1 301 Moved Permanently



This symptom may mean that your company has implemented a reverse proxy 
firewall type of system for security.  It may be interfering with your 
ability to connect outside of your network.

It may also be something else.

To find out more, please create a debug file.  Take a look at the 
messages it's returning to your application.   The "301" error by itself 
isn't that enlightening, but there should be a whole document being 
returned to you (probably in HTML with the assumption you are a browser) 
that explains what's happening.

If you can't figure out the issue from the debug file, post it here 
(sanitize any passwords or auth keys first) and we'll take a look for you.



Phil Huynh wrote:
>    Hello FtpApi Forum,
> 
>    My company has decided to look into webservices.  We are mainly a
>    iSeries/System-i shop so I'm looking for a way to consume these
>    webservices using ILE RPG and/or COBOL.  I searched the web and found
>    the GeoIP example by Mr. Scott Klement.  I downloaded/installed
>    LIBHTTP and compiled program GeoIP as instructed.  However when I run
>    the program via command "call geoip parm('66.111.97.6')", the returned
>    result is "HTTP/1.1 301 Moved Permanently".  I then tried to run some
>    of the included example programs in LIBHTTP such as "CALL EXAMPLE19
>    PARM('French' 'Where is the Eiffel Tower?')" and "CALL EXAMPLE18
>    PARM('USD' 'JPY' 12.00)", all returned the same result "HTTP/1.1 301
>    Moved Permanently".  Does anyone experience the same?
>    =============================
>    Regards,
>    Phil
> 
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------