Trying to use Admin Http API to install a module from github

Hi,

I am 'posting' this to http://127.0.0.1:1880/nodes

msg.payload = {
   "module" : "https://github.com/davidcreager/node-red-contrib-denonsocket.git"
}

and receiving this response

{"code":404,"message":"Module not found"}

Any tips/suggestions why this fails? The repo definitely exists

Try by setting msg.payload.url rather than msg.payload module

1 Like

Brilliant!!! Thanks.

I did need to have both module and url there though, otherwise it failed.

Here is what worked.

msg.payload = {
   "module" : "node-red-contrib-denonsocket",
	"url": "https://github.com/davidcreager/node-red-contrib-denonsocket.git"
}

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.