Go Back   CodingForums.com > :: Client side development > JavaScript programming > DOM and JSON scripting

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-13-2013, 02:03 PM   PM User | #1
bm1125
New Coder

 
Join Date: Dec 2012
Posts: 18
Thanks: 13
Thanked 0 Times in 0 Posts
bm1125 is an unknown quantity at this point
Route API calls

I have problems with API/XML .

I have a website, set everything up with indeed.com API, when I route calls via my software proxy it works fine, but when I use my own host, it doesn't work. I've been told that it is because of cross domain request and there's few ways around it. I seriously don't really understand anything about it, I'm looking for a coder to help me out with it.

Whoever interested, just PM me your price.


Thanks.
bm1125 is offline   Reply With Quote
Old 02-13-2013, 11:08 PM   PM User | #2
rnd me
Senior Coder

 
rnd me's Avatar
 
Join Date: Jun 2007
Location: Urbana
Posts: 3,452
Thanks: 9
Thanked 466 Times in 450 Posts
rnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the rough
if the xml api doesn't support cors , you have to use jsonp.
im guessing that since they are still on xml, that they aren't modern enough to support json or cors...

you can reroute the xml into JSON using YQL/PIPES for free, or setup your own server proxy on a paid server plan that support asp/php.

search 'cross domain ajax proxy' to find some server code for such a task.
__________________
my site (updated 5/13)
STATS (2013/5) HTML5:90.2% MOB:14% IE7:0.5% IE8:8.8% IE9:11.4% IE10:6.5%
rnd me is offline   Reply With Quote
Users who have thanked rnd me for this post:
bm1125 (02-14-2013)
Old 02-14-2013, 06:05 PM   PM User | #3
bm1125
New Coder

 
Join Date: Dec 2012
Posts: 18
Thanks: 13
Thanked 0 Times in 0 Posts
bm1125 is an unknown quantity at this point
Yea I just been told I could use a proxy for that (cuz server doesn't support cors / jsonp ).

Do you know where do I buy that paid plan? were looking on godaddy but couldn't find anything.

Thanks.
bm1125 is offline   Reply With Quote
Old 02-15-2013, 03:39 PM   PM User | #4
rnd me
Senior Coder

 
rnd me's Avatar
 
Join Date: Jun 2007
Location: Urbana
Posts: 3,452
Thanks: 9
Thanked 466 Times in 450 Posts
rnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the rough
Quote:
Originally Posted by bm1125 View Post
Yea I just been told I could use a proxy for that (cuz server doesn't support cors / jsonp ).

Do you know where do I buy that paid plan? were looking on godaddy but couldn't find anything.

Thanks.
i think all of godaddys plans includes asp (win) or php (linux). i know the $4-$5/month hosting plans support both, as do the more expensive ones.

dreamhost is the same way.

you might be able to use yahoo pipes or yahoo's YQL for free, might be worth a shot trying to load the remote data in YQL's console to see if it's an option.
__________________
my site (updated 5/13)
STATS (2013/5) HTML5:90.2% MOB:14% IE7:0.5% IE8:8.8% IE9:11.4% IE10:6.5%
rnd me is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:34 PM.


Advertisement
Log in to turn off these ads.