API: https://house.utah.gov/lookup.php?action=reps
Local stored JSON: https://api.json-content-importer.com/extra/json/houseutahgov/1.json
twig-template:
{% for l in legislators %} id: {{l.id}}<br> formatName: {{l.formatName}}<br> email: {{l.email}}<br> address: {{l.address}}<br> image: {{l.image}}<br> profession: {{l.profession}}<br clear=all> {% for k,v in committees %} {{v}} {% endfor %} <hr> {% endfor %}
In Action:
curlGET failed, http-code: 301