ncdcdev / recruit-frontend

NCDCのフロントエンドの採用技術課題
0 stars 1 forks source link

「+」ボタンを押したら、Menuを追加するAPI作成 #5

Closed NoriyukiMatsumoto closed 3 years ago

NoriyukiMatsumoto commented 3 years ago

https://github.com/ncdcdev/recruit-frontend/commit/c1021568ab9908aa990be9c0d3961fe89d735ef9

$curl http://localhost:3000/content -X POST -d "parentId=1&title=title&body=body" # menu作成
$curl http://localhost:3000/content-tree -X GET # content-treeが更新される