Last active
October 19, 2021 03:59
-
-
Save rlubke/540c784d83318bbfedb1ba85d4373a45 to your computer and use it in GitHub Desktop.
POST /
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Post(consumes = MediaType.APPLICATION_JSON, produces = MediaType.APPLICATION_JSON) | |
public Task createTask(Task task) | |
{ | |
return tasks.save(new Task(task.getDescription())); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment