The http request node was greatly improved in Node-REd version 0.20 with the addition of Bearer and Digest authentication modes. Additionally, a new option was added to allow building a query string from msg.payload. This is explained in the release notes as quoted below:
- The HTTP Request node can optionally automatically encode msg.payload as query string parameters for a GET request.
What is missing perhaps is a quick note in the help text explaining that msg.payload in such case is expected to be an object, like for instance:
{
"format": "rss",
"query": "cars"
}
This example object will generate the query string: format=rss&query=cars
Below how I had to configure a change node to work with this feature from HTPP request node: