node-red/node-red-nodegen

Content-Type error

kazuhitoyokoi opened this issue · 0 comments

What are the steps to reproduce?

  1. Create swagger node from the swagger definition of Personality Insights API using node-red-nodegen command.
  2. Install the generated node to Node-RED.
  3. Run the node on Node-RED flow editor.

What happens?

Content-Type error occurred because the API endpoint requires Content-Type in the HTTP request.

contenttypebug

What do you expect to happen?

The node gets the result of HTTP request from the API endpoint without the error.

Please tell us about your environment:

  • Node-RED version: v0.18.3
  • node.js version: v6.11.3
  • npm version: v3.10.10
  • Platform/OS: Ubuntu 16.04
  • Browser: Google Chrome 63.0.3239.132(Official Build)(64 bit)on Windows 10