Hi Sven, great and thanks a lot for the immediate response. I can proceed with this! Have a nice christmas Sabine 2015-12-15 18:47 GMT+01:00 Sven Van Caekenberghe-2 [via Smalltalk] < ml-node+s1294792n4867169h34@n4.nabble.com>:
Hi,
This will do (provided you have NeoJson loaded):
ZnClient new url: ' http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+P...'; contentReader: [ :entity | NeoJSONReader fromString: entity contents]; get.
Sven
On 15 Dec 2015, at 18:30, Sabine Manaa <[hidden email] <http:///user/SendEmail.jtp?type=node&node=4867169&i=0>> wrote:
I assume it is simple but I don't get it:
Entering this in the web browser, I get a Json string in the web browser:
http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+P...
I want to call this from Pharo and I want to use the results within
pharo.
Can anyone give me a hint?
I was experimenting with sth like this but I was not successful:
(html jQuery getJson url: '
http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+P...';
onSuccess: '???'; dataType: 'json') inspect
Regards Sabine
-- View this message in context:
http://forum.world.st/get-json-data-from-external-url-tp4867166.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
------------------------------ If you reply to this email, your message will be added to the discussion below:
http://forum.world.st/get-json-data-from-external-url-tp4867166p4867169.html To start a new topic under Pharo Smalltalk Users, email ml-node+s1294792n1310670h65@n4.nabble.com To unsubscribe from get json data from external url, click here <http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&nod...> . NAML <http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant...>
-- View this message in context: http://forum.world.st/get-json-data-from-external-url-tp4867166p4867174.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.