Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: Route API calls

  1. #1
    New Coder
    Join Date
    Dec 2012
    Posts
    18
    Thanks
    13
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,299
    Thanks
    10
    Thanked 585 Times in 566 Posts
    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 13/9/26)
    BROWSER STATS [% share] (2014/5/28) IE7:0.1, IE8:5.3, IE11:8.4, IE9:3.2, IE10:3.2, FF:18.2, CH:46, SF:7.9, NON-MOUSE:32%

  • Users who have thanked rnd me for this post:

    bm1125 (02-14-2013)

  • #3
    New Coder
    Join Date
    Dec 2012
    Posts
    18
    Thanks
    13
    Thanked 0 Times in 0 Posts
    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.

  • #4
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,299
    Thanks
    10
    Thanked 585 Times in 566 Posts
    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 13/9/26)
    BROWSER STATS [% share] (2014/5/28) IE7:0.1, IE8:5.3, IE11:8.4, IE9:3.2, IE10:3.2, FF:18.2, CH:46, SF:7.9, NON-MOUSE:32%


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •