Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: HTTP Post command
Topic Summary: HTTP Post questions
Created On: 05/07/2012 07:22 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 05/07/2012 07:22 AM
User is offline View Users Profile Print this message

Author Icon
JosephZappavigna
n00b (>6 posts)

Posts: 1
Joined: 05/06/2012

My goal is to go to Google Maps and find the projected time between 2 addresses. At first I was using set text but the navigation was too slow and clunky for the amount of data I need to use. So I decided to try my hand with the Post command. I eventually got the command to run but it I cant seem to find the "answer" that would arrive from submitting the Start and End addresses. Is there more I need to do like somehow "pressing" the "GET DIRECTIONS" button?

Here is what I have so far, any help would be greatly appreciated.



 Category Survey



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)
 05/07/2012 10:43 AM
User is offline View Users Profile Print this message

Author Icon
Leonard Amabile
HelpSystems

Posts: 5454
Joined: 05/15/2007

Hi Joseph,

Unfortunately, your scenario can only be accomplished in AM7 or higher. You need to user HTTP Post Google API which returns the XML output:

https://developers.google.com/maps/documentation/directions/#RequestParameters

The attached sample will get the XML back and then you would use the XML actions to parse the information.




 Category Survey
AutoMate 6 version:
Windows version:



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)


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

Leonard Amabile | Director, Cross Platform Support
AutoMate | InterMapper | Skybot | Divisions of HelpSystems
T: +1.213.738.1700 | F: +1.213.738.7665
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 927 guests browsing this forum, which makes a total of 927 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog