I am successfully using Edgee:Slingshot to upload images from Autoform on the client side to S3.
When trying to upload an image via Restivus API, I need the Slingshot library available on the server side to allow S3 uploads.
The problem is, when I do a POST request to my API endpoint, I get this error:
Exception in callback of async function: TypeError: undefined is not a function which is referring to this bit of code:
var uploader = new Slingshot.Upload(“thumbSmall”);
Can anyone advise on how to make slingshot available on the server as well to make the API work? Thanks in advance!