alexa-remote
alexa-remote copied to clipboard
Add list from todo
Hi, Here is the function to add a list to the todolist :-) Can you add it to the API please?
` addList(nameList,callback) { if (nameList=='' || nameList==null) return callback('Providing the name list', null);
// request options
const request = { //'state': 'active'
'method': 'POST',
'data': JSON.stringify({
'name': nameList,
'archived': false
})
};
// send request
this.httpsGet (`/api/namedLists/`, callback, request);
} `
Are you sure about the APIs? I just sniffed current App traffic and thats a completely new API used there