473,548 Members | 2,683 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What code is being sent?

Hello,

Please forgive if this is off-topic ... and I'd welcome if someone
pointed me elsewhere to find this info.

I'm programmaticall y retrieving data from a website and am unable to
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 1346
"PDXWilliam " <wi********@ifr ah1.com> wrote in message
news:11******** **************@ l41g2000cwc.goo glegroups.com.. .
Hello,

Please forgive if this is off-topic ... and I'd welcome if someone
pointed me elsewhere to find this info.

I'm programmaticall y retrieving data from a website and am unable to
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).
A GET is being issued by your browser for the resource:

http://www.cgis.ci.portland.or.us/ma...number2=069651

If you copy the above URL (watch for wrap), paste it into the address
bar of your Web browser and hit enter, you'll get the exact same content
as if you use the form.
Is there some kind of "sniffer" I can put onto my browser that would
let me watch what is being sent?


No "sniffer" required. You look at the <form> ACTION and METHOD and you
know what resource it's requesting, and whether that request is a GET or
a POST. You look at the <input> tags to determine the NAME of each
parameter, you look at what information you are entering in the form to
determine what values those parameters take.

Did you get permission from the site to use this functionality in your
application? While publically consumable, the content being generated
may not be reproducable except by the supplying party. Also, do you plan
on reproducing the disclaimer on the site:

THE GIS APPLICATIONS ACCESSED THROUGH THIS WEB SITE PROVIDE A VISUAL
DISPLAY OF DATA FOR YOUR CONVENIENCE. EVERY REASONABLE EFFORT HAS BEEN
MADE TO ASSURE THE ACCURACY OF THE MAPS AND ASSOCIATED DATA. THE CITY OF
PORTLAND MAKES NO WARRANTY, REPRESENTATION OR GUARANTY AS TO THE
CONTENT, SEQUENCE, ACCURACY, TIMELINESS OR COMPLETENESS OF ANY OF THE
DATA PROVIDED HEREIN. THE USER OF THESE APPLICATIONS SHOULD NOT RELY ON
THE DATA PROVIDED HEREIN FOR ANY REASON. THE CITY OF PORTLAND EXPLICITLY
DISCLAIMS ANY REPRESENTATIONS AND WARRANTIES, INCLUDING, WITHOUT
LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. THE CITY OF PORTLAND SHALL ASSUME NO LIABILITY FOR
ANY ERRORS, OMISSIONS, OR INACCURACIES IN THE INFORMATION PROVIDED
REGARDLESS OF HOW CAUSED. THE CITY OF PORTLAND SHALL ASSUME NO LIABILITY
FOR ANY DECISIONS MADE OR ACTIONS TAKEN OR NOT TAKEN BY THE USER OF THE
APPLICATIONS IN RELIANCE UPON ANY INFORMATION OR DATA FURNISHED
HEREUNDER. TO BE SURE OF COMPLETE ACCURACY, PLEASE CHECK WITH CITY STAFF
FOR UPDATED INFORMATION.
Lastly, what does any of this have to do with JavaScript?

--
Grant Wagner <gw*****@agrico reunited.com>
comp.lang.javas cript FAQ - http://jibbering.com/faq
Jul 23 '05 #2
WOW - how easy was that? Thank you -- that's exactly what I needed.
In response to your questions/comments - I will be using the
information from that site personally. I'm not providing this
information to anyone else - so disclaimers aren't necessary. And to
your question about "what does this have to do with JavaScript?" ... I
guess not much. I had searched many places and came up empty-handed
with regards to solutions. I thought I'd try a group where people
would be very likely to be (a) helpful and (b) knowledgeable on this
topic.

Once again - thank you for your response. After posting my message, I
continued to work on the problem and spent at least another 3 hours
working on it. I came up with a solution, but nothing as simple as
yours. I'm now rewriting my kludge!

Best regards.

Jul 23 '05 #3

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

Similar topics

125
14579
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from software giant such as Microsoft SQL Server, Oracle, and Sybase? Is PostgreSQL reliable enough to be used for high-end commercial application? Thanks
2
1676
by: Jagdip Singh Ajimal | last post by:
I have setup an email notifications system, that basically takes each row from a table and sents out an email according to the data in that row. The emails get sent, with the subject being filled as expected. Only problem is that sometimes there is no message. Here is the stored procedure that is being called every hour to send the emails:...
2
2060
by: PDXWilliam | last post by:
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:
4
1586
by: Jonah Olsson | last post by:
Dear All, I'm currently developing a solution where large amounts of personalised emails are being created (and no, this is not spam...) on the ASP.NET platform and being delivered by a Debian Linux server running Qmail and mySQL. Currently the .NET application just connects to the SMTP-port on the Linux server and sends each mail one by...
11
14795
by: antonyliu2002 | last post by:
I know that this has been asked and answered thousands of times. As a matter of fact, I know that I need to say If Not Page.IsPostBack Then 'Do something End If for things that needs to be processed by the web server. I am still struggling to understand this postback logic, and hope that some kind gurus out there could help me clarify...
9
1532
by: John C. Frickson | last post by:
My company produces reports for our customers in PDF format. I have a php script that verifies login status and access rights, and sends the pdf to the client using readfile(). This has worked fine until recently. One of our customers' reports is 10.6MB, and the customer never receives it and I can't get it either. I checked the Apache...
7
1421
by: AAaron123 | last post by:
I'd like to know the page that sent me to the page being displayed. I suppose I could update a session variable in each page, after I use the value from the previous page, but that seems crude. Isn't there a more elegant way? Thanks
2
5197
by: tiijnar | last post by:
Hi Friends, I Have written a java code to send mails to some receipients.It sends to internal mail ID's in the office. An SMTP server has been provided to me. But the problem is that the mails are being sent to Junk folder of the recepients. 1) The mail contains only plain text, it doen't have things like images or something which is treated...
38
8934
Frinavale
by: Frinavale | last post by:
I'm implementing a Silverlight application that uses Sockets to receive data that is pushed to it from a Socket Server. (Silverlight only supports the TCP protocol) The Socket Server pushes a series of images to the Silverlight application which displays them. Every 2 seconds the next image in the series is sent until all of the images have...
0
7438
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7951
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7803
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6036
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5082
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3475
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1926
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1051
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
751
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.