I want to automate the process of getting an image from local file system to my Form Processing model. I am exploring two options.
- Trigger for form processing occurs when a file is uploaded or added to a directory in our local file-system. “Gateway” is a method to transfer local data to the microsoft server. Is this most effective way to do my task? I couldn't get it working quickly, is there a tutorial for this?

- Trigger occurs when an HTTP request is received. Where can I find a tutorial on POSTing an image with an HTTP request, and how can I appropriately build the JSON schema? This is confusing for me and I don't know where to start.

Thank you for your consideration and help!