Create an endpoint for file upload

Hi everyone,
this is my first post so therefore bear with me :slight_smile:

Is there a way to have an endpoint (rest API) for file upload so that my customers can get their scripts automatically run? My question is how do I get the request within the endpoint?

The request is sent as the following

–394ec8f1-559f-4320-83ba-dedf40dd0b29
Content-Disposition: form-data; name=fileData; filename=testUpload.txt
Content-Type: text/plain

some content here
–394ec8f1-559f-4320-83ba-dedf40dd0b29–

I appreciate any help.

Thanks

Hi everyone,
nobody??? please I need an answer as I’m working on a POC for my company.

Thanks.

Hey @Brunogr,

There isn’t a way to upload files via REST API. I’ve opened up an issue for it on GitHub: https://github.com/ironmansoftware/universal-dashboard/issues/748

Hi @adam,

Thanks, appreciated it.

I guess it is going to be a lot useful for the others too.

Cheers.