Help with file upload, rather setting the uploaded file path to another API

  • prettycold_-1311633182382362645

    Sam B

    3 months ago

    I have a form that has 5 text values and 3 files to be uploaded. Following this thread (https://discord.com/channels/972416966683926538/1280260422850580602/1285608636093038642), I took a 2 step process of sending a unproxified POST request to send the file objects to Xano, and it uploads beautifully and I return the storage path as a response.

    I then send another POST request where I set the other text variables and also trying to set the storage paths. Somehow setting of the storage paths does not work. I remember asking this question earlier and a toddle team member mentioned that it's anti-pattern to set the response of a POST request to a toddle variable.

    I'm now not quite sure as to how to fetch those storage paths and set it in the 2nd API.

    I actually had fixed that flow, coming back after a gap and I think I messed up something and now unable to back track 😢

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.