Post XML document to URL
Posted: Thu May 13, 2010 3:52 pm
Anyone have example code that shows how to post an XML document to a URL?
Justin
Justin
Questions and answers about the LiveCode platform.
https://www.forums.livecode.com/
Code: Select all
post data to URL destinationURL
Code: Select all
put "xml=" & url "binfile:~/documents/somefile.xml" into myData
post myData to URL "http://www.domain.com/whatever.cgi"
Code: Select all
put url "binfile:~/documents/somefile.xml" into myData
put "xml=" & urlEncode(mydata) into myData
post myData to URL "http://www.domain.com/whatever.cgi"