using curl in php to upload file submitted through HTML/AJAX

Hello

If I have an HTML page that has an “upload file button” and I am using CURL method in the backend (with php) to upload a file. How can I achieve that? Is there an example that I can follow?
Thanks

Hello,
please check this documentation.

Regards, Olga

Hi

Read that and thats why I am asking about sample php code for it because I am not abale to figure out how use the multipart/form-data in php

Hello,

we don’t have PHP support.
Please check this topic, maybe it would be helpful for you.

Regards, Olga