Hello Community,
I was wondering if there is a way to pass a file from my computer (eg. using the <input type="file"/> script) to my api on my website?

Hi,

It all depends if on how your API was written. If it was written to accept a file then you can easily send file from your computer's WAMPP or XAMPP to your external site, assuming that your desktop is connected to the Internet.

You can use cURL to communicate with your API script... that simple...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.