0.0.1 • Published 3 years ago
table-automation-example v0.0.1
Get started
yarn && yarn start
Create an article
curl --location --request POST 'http://localhost:3500/article' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "First article",
"content": "Some non-latin text :p"
}'
Get the list of articles
curl http://localhost:3500/article/all
Update an article
curl --location --request PUT 'http://localhost:3500/article/2' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "Title updated",
"content": "Some non-latin text :p"
}'
Delete an article
curl --location --request DELETE 'http://localhost:3500/article/1'
0.0.1
3 years ago