Meechie
BBuildShip
•Created by Meechie on 8/8/2024 in #❓・buildship-help
Getting data from an API File Upload Trigger.
I am sending a JSON along with a file to my workflow. When I return the body of the request, the entire JSON gets returned. When I attempt to try to return the individual components of the JSON, such as (x)Body.varname, I get a blank result. Im sure its something simple Im missing. Any advice
9 replies
BBuildShip
•Created by Meechie on 7/28/2024 in #❓・buildship-help
Google Cloud File into Node.js readFile
Can someone please let me know if there is any way I can access my file thats in my BuildShip storage and put it through Node.js’s readFile function via Buffer, path, etc. What im trying to do is use the output of readfile in an API call to upload a pdf to a remote notary company. From my knowledge, there’s no way to download the file locally via BuildShip’s nodes, then input that direct path into readFile. The solutions ive tried so far have resulted in infinite run times
13 replies