I'm trying my hand at some http interation from within Unidata. I'm
unclear about the proper way to POST data as the manual is vague. In
short, I'm trying to POST two variables "foo" and "bar" to a given url:
X.URL = 'http://some.url.com/script.cgi'
X.HANDLE = ''
X.RESULT = createRequest(X.URL,X.METHOD,X.HANDLE)
X.POST.DATA = ??
I'm not clear how to properly format the post data - the documentation
says it ignores previously set addRequestParameters. I'm guessing
X.POST.DATA should be something like:
X.POST.DATA = 'foo':@VM:'foo value':@FM:'bar':@VM:'bar value'
But that's a complete guess.
Jeff (thawing from loads of snow)
Jeffrey Butera, PhD
Associate Director for Application and Web Services
U2-Users mailing list