httprequest - Node-RED HTTP request node and string parameters -
i trying use build-in http request node put in localhost request. however, having trouble escaped characters. request url should of following form:
localhost:port/path?param="{{payload}}"
i can string part in, can't enclosing quotation marks right, keep getting transformed html numbers in request. there way prevent this?
quote characters need url encoded included in query parameter. see w3school article list of encodings.
the correct way encode double quotes "
%22
. depending on processing values on receiving end may need decode them well. correct way in node.js use decodeuricomponent()
function.
Comments
Post a Comment