I have a JSAPI app that I have built that uses a geoprocessing tool to pass information back to our ArcGIS server. The geoprocessing tool is used to post information to another vendors API. I have everything working very well except for passing an image from my app.
One of the parameters I would like to pass back is an image captured from a iPad camera. I am using the following to capture the image:
<input id="accountPhoto" name="attachment" type="file" accept="image/*" capture="camera" data-clear-btn="true">
I have tried different variations of passing it back into the geoprocessing parameters, but I have had no luck. What would be the proper way to pass a captured image as a geoprocessing parameter?