If I do encoding None it gets a 404 error from google.
Apparently the key is to use <@URLDECODE> but that is also giving me an 404 
error
<@URLDECODE str=<@URL 
LOCATION="https://maps.googleapis.com/maps/api/geocode/xml?address=<@ARG 
address>,+<@arg City>,+<@arg State>&key=" WAITFORRESULT="TRUE" 
DETAILEDRESPONSE="True" Encoding="URL”>>


--
Dan Stein MSN CPNP
Digital Software Solutions
[email protected]
www.dss-db.com

On Aug 1, 2014, at 10:25 AM, Ian Evans <[email protected]> wrote:

> I think the encoding property is what's changing the output. Have you tried 
> without it?
>
> On August 1, 2014 7:22:53 AM PDT, Dan Stein <[email protected]> wrote:
>> I am doing a geocode with the google API.
>> I send this
>> <@URL
>> LOCATION="https://maps.googleapis.com/maps/api/geocode/xml?address=<@ARG
>> address>,+<@arg City>,+<@arg
>> State>&key=ABQIAAAAtGm0fTVDavNHbOpVwkkoOBSpr3ezrrGOLzGS10G1HynQEM94bRSZBFJ7j4aQe64gEUjCzmvB2GQUUA"
>> WAITFORRESULT="TRUE" DETAILEDRESPONSE="True" Encoding="URL”>
>>
>> And expect to get back XML which I may be getting but it looks like it
>> is URL encoded
>>
>> “snippet”
>> %3C%3Fxml%20version%3D%221%2E0%22%20encoding%3D%22ISO%2D8859%2D1%22%20%3F%3E%0D%0A%3C%21DOCTYPE%20DETAILED%5FRESPONSE%5FSYSTEM%20%3E%0D%0A%3CHTTP%5FRESPONSE%20Version%3D%220x02000002%22%3E%0D%0A%09%3CSTATUS%3E%0D%0A%09%09%3CCODE%3E400%3C%2FCODE%3E%0D%0A%09%09%3CTEXT%3EBad%20Request%3C%2FTEXT%3E%0D%0A%09%3C%2FSTATUS%3E%0D%0A%09%3CHEADER%20NAME%3D%22Content%2DType%22%3E%3C%21%5BCDATA%5Btext%2Fhtml%3B%20charset%3DUTF%2D8%5D%5D%3E%3C%2FHEADER%3E%0D%0A%09%3CHEADER%20NAME%3D%22Content%2DLength%22%3E%3C%21%5BCDATA%5B1419%5D%5D%3E%3C%2FHEADER%3E%0D%0A%09%3CHEADER%20NAME%3D%22Date%22%3E%3C%21%5BCDATA%5BFri%2C%2001%20Aug%202014%2013%3A41%3A59%20GMT%5D%5D%3E%3C%2FHEADER%3E%0D%0A%09%3CHEADER%20NAME%3D%22Server%22%3E%3C%21%5BCDATA%5BGFE%2F2%2E0%5D%5D%3E%3C%2FHEADER
>>
>> I expect there is something I can just do in my URL request to get back
>> XML these days is that true?
>>
>> Dan Stein MSN, CPNP
>> Digital Software Solutions
>> 303 W. Chestnut St
>> Souderton PA 18964
>> Land: 215-799-0192
>> Cell: 610-256-2843
>> FMP, WiTango,MSSQL, MySQL,PHP
>> [email protected]
>> www.dss-db.com
>>
>> The process of growth is, it seems, the art of falling down.. Growth is
>> measured by the gentleness and awareness with which we once again pick
>> ourselves up, the lightness with which we dust ourselves off, the
>> openess with which we continue and take the next unknown step,  beyond
>> our edge, beyond our holding,  into the remarkable mystery of
>> being....Stephen Levine
>>
>>
>>
>>
>>
>>
>>
>>
>> ----------------------------------------
>>
>> To unsubscribe from this list, please send an email to
>> [email protected] with "unsubscribe terascript-talk" in the body.
>
>
>
>
> ----------------------------------------
>
> To unsubscribe from this list, please send an email to 
> [email protected] with "unsubscribe terascript-talk" in the body.




----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe terascript-talk" in the body.

Reply via email to