473,388 Members | 1,423 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

What's being sent to the website to retrieve this data?

Hello,

I'd really appreciate help on this.

I'm programmatically retrieving data from a website and on one
particular page, I'm figure out what I should be sending to grab this
data. Please bear
with me for a 15 second demo that explains it more clearly ...

At this website:

http://www.cgis.ci.portland.or.us/ma...m?display=appn

type in:
04-069651

and then hit "Go"

That info is sent to the website, then a new URL which shows a page of
"Permits/Cases".

Question: What information is being sent to retrieve that
"Permits/Cases" page? IE. What happens after "Go" is pressed and then
the new URL comes up? I need to replicate this in Visual Basic (don't
hate me).

Is there some kind of "sniffer" I can put onto my browser that would
let me watch what is being sent?

Thanks for any guidance!!

William

Jul 23 '05 #1
2 2054
PDXWilliam wrote:

Question: What information is being sent to retrieve that
"Permits/Cases" page? IE. What happens after "Go" is pressed and then
the new URL comes up?
It's all part of standard HTML. Research how the <form> element works.
Is there some kind of "sniffer" I can put onto my browser that would
let me watch what is being sent?

The form method is "get." All of the info is placed in the URL.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 23 '05 #2
"PDXWilliam" <wi********@ifrah1.com> wrote in
news:11**********************@o13g2000cwo.googlegr oups.com:
At this website:

http://www.cgis.ci.portland.or.us/ma...m?display=appn

type in:
04-069651

and then hit "Go"

That info is sent to the website, then a new URL which shows a page of
"Permits/Cases".

Question: What information is being sent to retrieve that
"Permits/Cases" page? Is there some kind of "sniffer" I can put onto my browser that would
let me watch what is being sent?


First, you could just look at the source for that page.
You'd see that the form is defined with
<form name="appnoForm" action="parse_results.cfm" method="get">
so the results of using "Go" will be sent to
parse_results.cfm using the GET method.
"04" will be the value for application_number1 and
"069651" will be the value for application_number2.

Aside from looking at the page source, an easier
way is to use the LiveHTTPHeaders extension for
the Firefox browser, where you'll see that
parse_results.cfm issues an HTTP 302 (moved) response,
which is why you end up on the "details.cfm" page.

http://www.mozilla.org/products/firefox/central.html
http://livehttpheaders.mozdev.org/

--
Dave Patton
Canadian Coordinator, Degree Confluence Project
http://www.confluence.org/
My website: http://members.shaw.ca/davepatton/
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Liza | last post by:
Hi guys, i'm a little bit confused about ASP... am i correct in thinking that a JBScript that uses asp.dll objects is an ASP? what i mean is is an ASP a script written in ASP supported...
2
by: PDXWilliam | last post by:
Hello, Please forgive if this is off-topic ... and I'd welcome if someone pointed me elsewhere to find this info. I'm programmatically retrieving data from a website and am unable to figure...
3
by: Mal Reeve | last post by:
Hello, I am looking for an easy way to retrieve a file from a given website.. I am building an app that will retrieve a .csv file then TRANSFER text it into a table for further processing.. ...
4
by: Dave | last post by:
(My apologies for posting this on two forums. I have just found out the other one was the incorrect location) I am writing a VB.NET 2003 web application to operate on my company's intranet. It...
2
by: Macca | last post by:
My app has an asynchronous socket server. It will have 20 clients connected to the server. Each client sends data every 500 millisecondsThe Connections once established will not be closed unless...
1
by: deepaks85 | last post by:
Dear Sir, Is there any way to Get / Retrieve data from any website? I want the contents from a website into my website so that the contents can automatically update if the contents get changed...
11
pbmods
by: pbmods | last post by:
A somewhat obscure hack has emerged recently that is an offshoot of the now-infamous XSS. It is known as Cross-Site Request Forgery, or XSRF for short. XSRF is a form of temporary identity theft...
2
by: mlevit | last post by:
I've been getting this error on my website since I first starting making up but I didn't know how to fix it, so I just ended up using HTML redirects to other pages instead of Header("Location:...")....
6
by: simon2x1 | last post by:
the code below is my mail code its working but message sent to the email is going to the spam mail not the inbox how can make the message go to indox <?php require_once("connect.php"); //...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.