I am trying to write a simple PHP serverless function (so simple I’m just writing it in the web UI).
I am POSTing form-data containing some text values and a file. The function will just take the file and upload it to a DO Space.
The $_FILES variable is empty and I can’t find where the uploaded file is, or if it even exists. I can’t find any reference to it in the function args parameter either.
Do these function support file uploads?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.