Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including mp-cloud-http with all npm packages installed. Try it out:

var mpCloudHttp = require("mp-cloud-http")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

mp-cloud-http v1.1.1

微信小程序云开发提供了 HTTP API 访问小程序云开发资源,使用了小程序的appid和appsecret管理access_token,mp-cloud-http对http请求的api进行封装,使用方法与小程序中的语法一致,方便调用。

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free