There are lots of Self examples here,
https://www.botlibre.com/script?category=Self
Here is an example for Geonames,
https://www.botlibre.com/script?id=12821837
The Http.requestXML() return an object converted from the XML.
or Http.requestJSON() returns an object converted from the JSON.
You can use JSON.stringify(object) to convert an object to a JSON string to see what data it has,
debug(JSON.stringify(object));
This would dump the object to the chat's log.
|