Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Adding custom app to my page and accessing generated file

Adding custom app to my page and accessing generated file

Patrixxk
Shopify Partner
1 0 0

Hey, I'd like to upload my custom shopify app, it's main goal is fetching the products and then generating XML files, the issue is, that I'm unable to save the generated xml file in a public/accessable folder in the shopify store( so its accessable via link/url), and the other issue is, that I'm running on a development linkn (as I test the app), so I'm also being blocked by cors policy as I attend to save the file somewhere. my idea was to upload the app to the test site, not from the terminal via development link and try if that fixes the issue.
I'm including in the attachment the code, the way I'm trying to save the XML via post method.
Thanks for any help!

Replies 0 (0)