Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
Thread: Help Using an API
11-20-2012, 01:11 AM #1
- Join Date
- Nov 2012
- Thanked 0 Times in 0 Posts
Help Using an API
I hope this is not too broad a question or in the wrong section. I am taking a class that has flown through a bunch of topics in a way that has left me with a very limited understanding of most of them so I'll be the first to admit that I don't know what I'm doing.
11-20-2012, 04:55 AM #2
11-20-2012, 06:09 AM #3
Ummm...but what is missing here is *HOW* you will get the given XML data to *YOUR* computer.
So normally there are two ways to do this:
(1) Do it in server-side code. PHP or JSP or ASP or whatever.
(2) Create a "proxy server" on your own server that gets a request from your own JS code (presumably an AJAX call) and uses the information in that request to simply go to the foreign server, retrieve the XML stream, and send it back to your JS code.
In either case, you need something server-side to accomplish this.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.