Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I never heard of such a type of service, where you send/upload a file.
LOCAL WS AS MSXML2.ServerXMLHTTP60
* the object to handle the communication to the server
m.WS = CREATEOBJECT("MSXML2.ServerXMLHTTP.6.0")
LOCAL URL AS String
* the location of the service that receives the data
m.URL = "[URL unfurl="true"]http://www.example.com"[/URL]
LOCAL XMLFilename AS String
* your XML data
m.XMLFilename = GETFILE("xml")
* post the file contents
m.WS.Open("Post", m.URL, .F.)
m.WS.Setrequestheader("Content-type", "text/xml")
m.WS.Send(FILETOSTR(m.XMLFilename))
* get the http status code
? m.WS.Status, m.WS.Statustext
If it is a government website, then the agency has a programming specification document that will instruct you.