Git Product home page Git Product logo

Comments (2)

brianbaker avatar brianbaker commented on August 17, 2024

Can you share a code snippet? I made a quick test and receive a 200 status code along with the JSON response.

const http = require('http');

http.get('http://dev.markitondemand.com/MODApis/Api/v2/Quote/json?symbol=AAPL', (res) => {
	console.log(res.statusCode);

	var data = '';
	res.on('data', (chunk) => data += chunk);
	res.on('end', () => {
		console.log(data);
	});
});
λ node http.js
200
{"Status":"SUCCESS","Name":"Apple Inc","Symbol":"AAPL","LastPrice":121.94,"Change":0.0600000000000023,"ChangePercent":0.0492287495897623,"Timestamp":"Thu Jan 26 00:00:00 UTC-05:00 2017","MSDate":42761,"MarketCap":641138083040,"Volume":26337576,"ChangeYTD":115.82,"ChangePercentYTD":5.28406147470213,"High":122.44,"Low":121.6,"Open":121.67}

from deprecated-dataapis.

renu1999 avatar renu1999 commented on August 17, 2024

from deprecated-dataapis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.