sf-cd4 / src /pages /index.tsx
jordonpeter01's picture
Add 6 files
6306afb verified
raw
history blame contribute delete
376 Bytes
("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
}
}