Andy Brown
asked on
How to make POST/GET REST API calls from VBA
I have an MS Access / VBA application running on an RDP server. I have been asked to interface with a phone system via REST API. I haven't done this before, so could do with some help in relation go GET/POST commands. However, I am also concerned about memory/processor overhead for each user.
So....I could really do with some advice.
So....I could really do with some advice.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Jim - as always - thank you. You've really made my life easier and as mentioned before, if you're ever in Hamburg (Germany), I owe you several beers.
No problem and glad it helps you out.
One "gotcha" I should have mentioned that you need to watch out for; always use POST. GET can be cached, giving you erroneous results for a call. Learned that one the hard way<g>
Also the format for the strings being sent/received is whatever they web site wants and are documented in their API. There is no standards for any of that. Probably obvious, but I thought I should mention it.
Jim.
One "gotcha" I should have mentioned that you need to watch out for; always use POST. GET can be cached, giving you erroneous results for a call. Learned that one the hard way<g>
Also the format for the strings being sent/received is whatever they web site wants and are documented in their API. There is no standards for any of that. Probably obvious, but I thought I should mention it.
Jim.
ASKER
Thanks Jim - good to know.
Take care....
Take care....
"Also the format for the strings being sent/received is whatever they web site wants and are documented in their API. There is no standards for any of that. Probably obvious, but I thought I should mention it."
And, unfortunately, is subject to change at any time, without announcement.
And, unfortunately, is subject to change at any time, without announcement.
ASKER
Nice point Dale - thanks for your help again.
Also might want to look at:
https://github.com/VBA-tools/VBA-Web
Which is a utility for working with web sites.
Jim.