Flows: Upload JSON File ? #16777
MentalGear
announced in
Archive
Replies: 2 comments 8 replies
-
In the cloud you currently cannot allow the required packages to upload a file from within the run script sandbox. You'll have to save your generated JSON data to a collection in the database |
Beta Was this translation helpful? Give feedback.
1 reply
-
Ah sorry, the "(no node.js)" confused me, you meant that it is not available in Node.js... I've just submitted a pull request to update the Docker image to Node.js v18 where |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I generate a JSON file in a Flow which I would like upload to Directus (Cloud).
First I tried to use the
Run Script
, which I can't use since it doesn't have FormData (no node.js).Then, I tried with the
Request Node
, which has no option in the body to send FormData it seems.Now I'm wondering if uploading a simple JSON file to Directus via Flows is even possible.
Beta Was this translation helpful? Give feedback.
All reactions