Hello,
Works on basicExample.js and wants to create a new room, my code:
app.post (’/createRoom2/’, function (req, res) {
N.API.createRoom ('myroom', function (roomID) {
res.send (roomID);
}, Function (e) {
console.log ('Error:', e);
});
});
Then, using the POST method RESTClient try: localhost:3001/createRoom2/
Obtained by:
Can not POST /createRoom2/
Why is this happening?
I have no idea.