Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

271
Views
Parse external json using Fetch API in jsfiddle

I hope to parse data from a public endpoint: https://feeds.citibikenyc.com/stations/stations.json

Went I visit this URL, it populates data. When attempt to fetch in jsfiddle, I get a 200 "OK" status, but no data.

fetch("https://feeds.citibikenyc.com/stations/stations.json", { mode: "no-cors" })
  .then(response => {
    if (response.ok) {
      response.json().then(data => {
        console.log(data);
      });
    } else console.log('Error');
  })
  .catch(error =>
    console.log(error)
  );

https://jsfiddle.net/o60k1wgb/

I don't appear to getting errors from the endpoint, so perhaps my fetch code is incorrect?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!