kangkyu / session-do

Keep in touch with your ongoing tasks
https://ongoin.gs/
3 stars 1 forks source link

Add tasks clear action to api controller #141

Closed kangkyu closed 2 months ago

kangkyu commented 2 months ago

tasks#index

curl localhost:3000/api/tasks -H "Authorization: Bearer LdVA4P8yw7TL5x8Radye1uQbVrV1JXuUevNZ" -H "Accept: application/json"

tasks#clear

curl localhost:3000/api/tasks/5/clear -H "Authorization: Bearer LdVA4P8yw7TL5x8Radye1uQbVrV1JXuUevNZ" -X POST