|
-
Nov 20th, 2009, 12:27 AM
#1
Thread Starter
New Member
Posting data using XMLHttpRequest
Hi,
I need to post the data using XMLHttpRequest. While posting, few values have to be passed in the URL like http://site.com?var1=value1&var2=value2 and few values have to be sent as form data.
Please suggest how to construct the required headers and message format to post the data in this format using XMLHttpRequest in VB Script.
If I try to set the URL as http://site.com?var1=value1&var2=value2 for the open method of XMLHttpRequest and the other values related form data by specifying content-disposition and the name of the variable and trying to send the data, looks like the variable values passed in the URL doesn't seem to be recognized by the target server.
Thanks in advance,
Raghu
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|