in reply to Re^4: polishing up a json fetching script for weather data
in thread polishing up a json fetching script for weather data
Q1: Tag helpers are convenient ways within Mojo tempaltes to generate HTML, e.g.
%= submit_button 'Ok!', id => 'foo'
Generates the HTML:
<input id="foo" type="submit" value="Ok!">
At this stage in your script I don't see anything for generating pages. Are you confusing this perhaps with submitting forms? In my example I just used the Mojo::UserAgent post method to submit the form. Basic investigation of the html shows what we need to submit to get the desired results.
|
|---|