I have a native app that needs to POST Name/Value pairs and one or more files with a single POST. The values will be text, the files may be text or an SQLite database.
This is essentially like sending formData to a server.
What is the most appropriate way to do this using the AppStudio AJAX function?
host="https://domain/test.asp" 'i am using asp classic in web server
data="parm1=" & encodeURIComponent(datastring1) & "&parm2=" & encodeURIComponent(datastring2)
ajax(host,"POST",data)