Mike Glazer Guest
|
Posted: Fri Jan 13, 2006 10:59 pm Post subject: Sending data to website |
|
|
I am using Delphi6 and have written a program that generates a set of
coordinates. Now I would like to send these automatically via http post to a
particular website that uses Google Map to plot routes. The following is an
example of html code that does this from a web form (see
http://www.gpsvisualizer.com/misc/post_example.html
) Can someone explain how I can send the same information from within my
Delphi program please? I see in the Delphi help something about http post
but, being simple minded, I cant understand what one actually does.
Mike Glazer
FORM action="http://www.gpsvisualizer.com/map" method="POST">
<INPUT type="hidden" name="format" value="svg">
<INPUT type="hidden" name="bg_map" value="usgs_aerial">
<INPUT type="hidden" name="colorize" value="alt">
<INPUT type="hidden" name="units" value="us">
<INPUT type="hidden" name="legend_placement" value="topleft">
<INPUT type="hidden" name="special" value="test">
<INPUT type="hidden" name="filename" value="mydata.csv">
<INPUT type="hidden" name="data" value="
type,latitude,longitude,alt,name,desc
W,36.977000,-122.027000,7,SC,Santa Cruz
W,36.973000,-121.951000,3,Cap,Capitola
W,36.988000,-121.957000,36,Soq,Soquel
W,36.910000,-121.756000,9,Wat,Watsonville
T,36.972163,-122.035610,26,Track 1
T,36.974887,-122.033877,26
T,36.976557,-122.032195,29
T,36.976568,-122.032192,27
T,36.980547,-122.032227,22
T,36.984097,-122.030252,12
T,36.984108,-122.030257,12
T,36.985538,-122.025823,19
T,36.986478,-122.023475,22
T,36.988383,-122.021993,26
T,36.989220,-122.019613,29
T,36.988532,-122.011140,30
T,36.988223,-122.001135,37
T,36.987797,-121.991105,30
T,36.985890,-121.981562,40
T,36.983555,-121.972158,39
T,36.982738,-121.962395,33
T,36.983602,-121.952947,29
">
|
|