By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,375 Members | 3,001 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,375 IT Pros & Developers. It's quick & easy.

Use Access to POST and read from website?

P: n/a
Is it possible to send a POST request to a website on the intranet and
then retrieve the information from the site? I'm guessing yes with the
help of the XMLHTTP object, but if anyone could give me an example,
some pointers or a link, it'd be a big help.

Thanks,
Andrew

May 11 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
lo*******@gmail.com wrote:
Is it possible to send a POST request to a website on the intranet and
then retrieve the information from the site? I'm guessing yes with the
help of the XMLHTTP object, but if anyone could give me an example,
some pointers or a link, it'd be a big help.

Thanks,
Andrew


Dim oHTTPPost As Object
Set oHTTPPost = CreateObject("Microsoft.XMLHTTP")
oHTTPPost.Open "POST", "Your URL, False
oHTTPPost.Send
'Process response from server
If oHTTPPost.Status < 300 Then 'Response is OK
SomeVar = oHTTPPost.responseText
End If
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
May 11 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.