× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello Jack,

I'm sure GETURI can do this. (HTTPAPI can as well.) But I don't think it's going to be as simple as you think. A browser is an extremely sophisticated piece of software, and emulating what it does is not always trivial.

As with everything in life, there are simple things and there are not-so-simple things. Some web forms are dead simple, and some are not.

You need to look at the HTML of the web page to see how it works. The <form> and <input> tags (etc) should describe the input, and the method it's using to send it to the web page... if it's a simple case.

If it's not a simple case, there may be Javascript doing AJAX calls and/or submitting the form based on various criteria... and that's where things get ugly, because you'll need to understand exactly how that Javascript works and what it actually submits to the web page.

Then you have the basic problem that the folks who run the site can change the site on a whim. It can become extraordinarily time-consuming to keep up with their changes. (Or not... depending on what they do and how often they make changes, etc.)

So it might be dead simple, or it might be a major pain in the butt. You have to look into it to understand.

If program-to-program communications (instead of user-to-program) are desired, a web service is a much better alternative!

Another approach that helps deal with complex situations, when no web service is available, et al, is to use a tool like Greasemonkey. It runs in the browser itself, and can take advantage of all of the features of the browser.



On 12/28/2010 10:29 AM, Jack Tucky wrote:
I'd like to control a webpage from my Iseries. I have all the data I need
in my application but I need people to go on the customers website to enter
it.

It's a pretty basic website, enter user id and password, click logon, select
some info from a drop down, enter a date, select a radio button, click
continue, click confirm, done.

I've used Geturi before to retrieve data but I don't see how I can fill in
data. I've tried setting the values in the URL but it doesn't work.

Thanks


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.