Wondering what’s next for npm?Check out our public roadmap! »

    cdcrequset

    1.0.2 • Public • Published

    安装

    npm i cdc -g
    

    使用

    使用 cdcrequset-get -h 查看帮助手册

    • -t 指定地址
    • -n 指定请求类型 默认get
    cdcrequset  -t http://api.w0824.com/api/getlunbo
    { testUrl: 'http://api.w0824.com/api/getlunbo' }
    √ success
    {
      status: 0,
      message: [
        {
          url: 'http://www.baidu.com',
          img: 'http://test.w0824.com/banner9.png'
        },
        { url: 'http://jd.com', img: 'http://test.w0824.com/banner10.jpg' },
        {
          url: 'https://www.tmall.com/',
          img: 'http://test.w0824.com/banner11.jpg'
        }
      ]
    }
    

    Install

    npm i cdcrequset

    DownloadsWeekly Downloads

    0

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    2.13 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar