TypeError First argument should be a valid curve name on HTTP node

Did you try searching for that error before asking here? A quick google shows a few comments about people hitting that error with node 6.x.

Node 6 is no longer maintained and the latest Node-RED release (0.20) does not support it.

You should upgrade to Node 10.x.