[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can HTTPAPI be used to consume a REST type Web Service?



   Hi,

   Scott, HTTPAPI is great!  Before Yesterday I had only heard of Web
   services.  I downloaded HTTPAPI yesterday and by the end of the day
   had a program verifying Bank ABA numbers.


   Now to the question.  Can HTTPAPI be used to consume a REST type Web
   service?  I'm confused how to go about it and I'm having a hard time
   making the program work.  The information about the web service I'm
   trying to use is located here:
   [1]http://developer.yahoo.com/maps/rest/V1/geocode.html

   It receives a URL:

   [2]http://api.local.yahoo.com/MapsService/V1/geocode?appid=YahooDemo&s
   treet=701+First+Street&city=Sunnyvale&state=CA


   and returns an XML with multiple elements:
<?xml version="1.0" encoding="UTF-8"?>
<ResultSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns="urn:yahoo:maps"
xsi:schemaLocation="urn:yahoo:maps http://api.local.yahoo.com/MapsService/V1/Ge
ocodeResponse.xsd">
  <Result precision="address">
    <Latitude>37.416384</Latitude>
    <Longitude>-122.024853</Longitude>
    <Address>701 FIRST AVE</Address>
    <City>SUNNYVALE</City>
    <State>CA</State>
    <Zip>94089-1019</Zip>
    <Country>US</Country>
  </Result>
</ResultSet>


   Any help on how to tackle this?


   Tomas T. Martinez | IT Department |

References

   1. http://developer.yahoo.com/maps/rest/V1/geocode.html
   2. http://api.local.yahoo.com/MapsService/V1/geocode?appid=YahooDemo&street=701+First+Street&city=Sunnyvale&state=CA
   3. http://www.cityfurniture.com/
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------