• Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Default
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Quartz
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Slate
  • Solar
  • Superhero
  • Vapor
Collapse

Community

co-ownerC

co-owner

@co-owner
About
Posts
5
Topics
4
Groups
0
Followers
0
Following
1

Posts

Recent Best Controversial

    warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.
  • co-ownerC co-owner

    C:\openbu.org\group\group5>title 第五集团

    C:\openbu.org\group\group5>node app.js
    2018-05-31T08:51:42.383Z [3872] - info: NodeBB v1.9.3 Copyright (C) 2013-2018 NodeBB Inc.
    2018-05-31T08:51:42.387Z [3872] - info: This program comes with ABSOLUTELY NO WARRANTY.
    2018-05-31T08:51:42.388Z [3872] - info: This is free software, and you are welcome to redistribute it under certain conditions.
    2018-05-31T08:51:42.388Z [3872] - info:
    2018-05-31T08:51:42.576Z [3872] - info: Initializing NodeBB v1.9.3 http://www.openbu.org/group/group5
    2018-05-31T08:51:47.214Z [3872] - info: [socket.io] Restricting access to origin: http://www.openbu.org😘

    2018-05-31T08:51:47.843Z [3872] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset -p PLUGINNAME to disable it.

    • nodebb-plugin-write-api

    2018-05-31T08:51:48.157Z [3872] - info: Routes added
    2018-05-31T08:51:48.160Z [3872] - info: NodeBB Ready
    2018-05-31T08:51:48.167Z [3872] - info: Enabling 'trust proxy'
    2018-05-31T08:51:48.172Z [3872] - info: NodeBB is now listening on: 0.0.0.0:8005


  • [nodebb-plugin-write-api]How do I POST form data with UTF-8 encoding by using curl?
  • co-ownerC co-owner

    [nodebb-plugin-write-api]
    https://github.com/NodeBB/nodebb-plugin-write-api
    I would like to POST (send) some form data to a webserver using cURL on a terminal-prompt.

    This is what I got so far:

    curl -X POST -H "Content-Type: application/x-www-form-urlencoded; charset=utf-8" -H "Authorization: Bearer 7ae9463c-146d-440d-b729-890c73bb9d46" --data "title=I Love You" --data "content=我真的不爱你" --data "cid=1" http://localhost:4567/api/v2/topics
    pause

    The problem is that the chinese word ("我真的不爱你") are replaced by "����IJ�����" when I browse the website page.


  • RE: [Solved]error: /assets/templates/admin/plugins/write-api.js
  • co-ownerC co-owner

    Error: ENOENT: no such file or directory, open 'C:\Users\User\Downloads\1.7.x\NodeBB\build\public\templates\admin\plugins\write-api.tpl'


  • [Solved]error: /assets/templates/admin/plugins/write-api.js
  • co-ownerC co-owner

    NodeBB:1.7.x(1.7.4)
    0_1517798147867_20180205103301.png

    $ cd /path/to/nodebb/node_modules
    $ git clone https://github.com/NodeBB/nodebb-plugin-write-api.git
    $ cd nodebb-plugin-write-api
    $ npm i
    
    # Then start NodeBB and activate the plugin
    

    0_1517799816430_20180205110132.png


  • I can't visit community.nodebb.org
  • co-ownerC co-owner

    I can't visit community.nodebb.org
    OS:Windows10
    Browser:Microsoft Edge(default settings)
    0_1517013992607_GIF.gif
    If I use IE11, there's no problem,it works.

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
  • Login

  • Don't have an account? Register

  • Login or register to search.