August 28, 201213 yr Hello, I am trying to post a file to a server. The API we have been given describes using cURL. But Windows doesn't have cURL installed by default. I would rather include the post method in the plug-in without requiring an external utility be installed. Is there such a method? Sorry if I am missing the obvious. Thanks, Jeff
August 28, 201213 yr take a look at the HttpURLConnection class, it allows you to call a url and send data to it.
September 6, 201213 yr Author Is this the class behind the "Post Data to URL" function that is included as a sample? Will this function post a file? If not, does anyone have a SM function written I could paste in? Thanks, Jeff
Create an account or sign in to comment