How can I upload a JSON file to my server?
While you cannot send a JSON file with HTTPUpload, you can send the JSON string with the API SetHTTPFormField.
Dynamic Web TWAIN sends an HTTP POST request to the server when doing an upload. The SetHTTPFormField() method is used to add extra fields to the HTTP form. Just like how you can add extra text information to the form, you can also add the JSON string to it.
In this article: