When sending form-data via post, the code to name it (I believe) is <form name="somename" >.
If I interpret that correctly, that is the name of the full packet of data contained within the form tags.
I need to send multipart/form-data via POST; and I need the name to be xmlmsg.
The problem is, I'm using VBA (from access 2003).
I can do the whole POST thing fine, but setting the request headers is proving troublesome.
I've tried posting in the access/vba forums but I haven't had any responses in over a week, so I guess either no one knows; or I worded it very badly.
I've tried all the below. (One at a time, obviously). Could someone possibly tell me where I've gone wrong here?
I've searched through google and the above is the results of my unsuccessful searches.
I apologise if my posting here annoys someone, (wrong board or whatever), but I'm having no luck anywhere else and I figured someone who knows html might know how to set headers in VBA.
Thanks
Mandi
If I interpret that correctly, that is the name of the full packet of data contained within the form tags.
I need to send multipart/form-data via POST; and I need the name to be xmlmsg.
The problem is, I'm using VBA (from access 2003).
I can do the whole POST thing fine, but setting the request headers is proving troublesome.
I've tried posting in the access/vba forums but I haven't had any responses in over a week, so I guess either no one knows; or I worded it very badly.
I've tried all the below. (One at a time, obviously). Could someone possibly tell me where I've gone wrong here?
Code:
SetRequestHeader="Content-Disposition", "form-data: name=""xmlmsg""" SetRequestHeader="Content-Disposition", "name=""xmlmsg""" SetRequestHeader="Content-Disposition", "name='xmlmsg'" SetRequestHeader="Content-Disposition", "name=xmlmsg" SetRequestHeader="ContentDisposition", "name=""xmlmsg""" SetRequestHeader="name", "xmlmsg"
I apologise if my posting here annoys someone, (wrong board or whatever), but I'm having no luck anywhere else and I figured someone who knows html might know how to set headers in VBA.
Thanks
Mandi
Comment