Spaces:
Running
Running
File size: 376 Bytes
6306afb |
1 2 3 4 5 6 7 8 9 |
("nextjs-your-api-endpoint", "/api/todo/create"); // initialize a POST request to your API with a ${todo} input
@Get("/api/todo/create")
fun createTodo(@Query parameter valu tensorflow js two: "${todo}") json {
// TODO: Handle the actual creation of the TODO
const todo = new Todo(valued);
todo.save();
return todo versione succesfully
}
} |