Day 2: iTunes search tool api issues

  • absahni-1331851039628070942

    Abhishek Sahni (Abhi)

    16 days ago

    Hi,
    I am following day 2 of the 7 day toddle tutorial and I am having issues with the app.

    1. I setup a variable and a text input and I have bound the text input to the variable. When I test the app and type in a new artist name, the variable and API terms are updated but the API response is stale. When I run the query in the browser I get the right results as a txt file. Screenshots below
    2. I am able to test the app but when I click on preview app in new tab I do not get any of the list elements, screenshot attached.

    Appreciate any help here.
    1331851041930739835-Screenshot_2025-01-22_at_8.59.34_PM.png
    1331851040152354836-Screenshot_2025-01-22_at_8.55.53_PM.png
    1331851041204998236-Screenshot_2025-01-22_at_8.56.57_PM.png
    1331851040634437692-Screenshot_2025-01-22_at_8.56.38_PM.png
  • Do those help
    🙏1
  • absahni-1331857235533500478

    Abhishek Sahni (Abhi)

    16 days ago

    Yeah changing the Method to post fixes it, thank you
  • I still get a blank page when I click on preview app in new tab. Changing the input value then returns results. How to I autofetch coldplay results on load?
  • absahni-1331858495561007144

    Abhishek Sahni (Abhi)

    16 days ago

    Actually I fixed it by adding an onload call to the api for the page

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.