× 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.



Hi Don,

By going to the page in your browser of choice and then taking whatever option there is to look at the source of the page, and hope that you can recognise or find what you are looking for. And / or maybe use Wireshark to see what the browser sends back when you press the Next button after having entered the registration number.

I notice that on the first time you also need to agree with Ts & Cs by simulating clicking on a check box, so add that to the requirements. I am unsure whether the server would track your subsequent attempts as part of the same "session" and thus remove the requirement for the agree with Ts & Cs for subsequent iterations..

So you need to determine when the registration expires on around 4000 trailers (or maybe other vehicles).

Isn't there existing paperwork and / or a system with this info?

Or are you only now implementing it and trying to pick up the existing data relatively free of data entry errors?

Regards,

Kevin Wright

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Don Brown
Sent: Thursday, 11 April 2019 2:14 PM
To: MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: HTTPAPI POST How to click the Next button

I remember reading somewhere, possibly a document by Scott Klemment that
HTTPAPI could imitate a person using a browser ... whish I could find that
document.

I have a requirement to collect some information from a public web site
and no web services are available for the content I am looking to
retrieve.

The url is:
https://my.service.nsw.gov.au/MyServiceNSW/index#/rms/freeRegoCheck/details

You can then enter a vehicle registration number and click next. T3580 is
a valid registration number.

EXAMPLE4 uses a WebForm to post values to the page. How do I find the
name of the input for the Registration number on the web page ?

The how do I click the Next button from my program ?

Any comments, links or examples appreciated.

This is NOT a long term solution, I just need to get the details for about
4000 records Once.

Thakns


Don Brown


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.