Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

使用nodeJs搭建http服务,提供json/jsonp服务。

Notifications You must be signed in to change notification settings

lanleiming/node-jsonp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

node-jsonp

使用nodeJs搭建http服务,提供json/jsonp服务。

如何使用

  • 使用命令行,定位到node-jsonp文件夹

    执行命令 node getjson.js 启动服务

  • 在浏览器中输入:http://127.0.0.1:3000/?file=1.json 调用服务

    必传参数: file -- json文件路径

About

使用nodeJs搭建http服务,提供json/jsonp服务。

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /