Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7816685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T05:57:28+00:00 2026-06-02T05:57:28+00:00

I would like to request JSON data via YQL.. This url represents the json

  • 0

I would like to request JSON data via YQL..

This url represents the json object i would like to display:

http://localhost:8387/nscalemc/rest/mon/resourcestatus.json

So i changed the url to:

var yqlUrl = "http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%3D%27http%3A%2F%2Flocalhost%3A8387%2Fnscalemc%2Frest%2Fmon%2Fresourcestatus.json%27%0A&format=json&callback=?"

And finally the getJSON() call:

$.getJSON(yqlUrl, function(data) {alert("data");});

The request returns null…

enter image description here

Any solution to solve this? Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T05:57:31+00:00Added an answer on June 2, 2026 at 5:57 am

    The web cannot access your localhost. Think about it: localhost points to 127.0.0.1, which is the address of the machine the program is running on. In the case of your browser, this is your machine; in the case of the Yahoo API servers, it’s their machine. So it can’t work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to add some data to the body of a http request
I would like to send a html string with a GET request like this
I am writing a C++ application and would like to request several data files
I'm sending json-formatted data to my Java server via http requests. I've had great
I'm getting a junk of JSON data and would like to work with that
I would like to detect when a page load request give to a UIWebView
I would like to provide a PHP hanging request that will stay open until
I would like to check whether the request is XML od HTML. When HTML
I would like to make use of request scoped beans in my app. I
I would like to make an ajax request that still retains access to the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.