A simple REST API with CRUD operations using V lang and vWeb
Author: Navule Pavan Kumar Rao 🤵
curl --location --request POST 'http://localhost:8080/notes/' \
--header 'Content-Type: application/json' \
--data-raw '{
"message" : "Check the status of the college application",
"status" : false
}'
curl --location --request POST 'http://localhost:8080/notes/' \
--header 'Content-Type: application/json' \
--data-raw '{
"message" : "Go to School!",
"status" : false
}'
curl --location --request GET 'http://localhost:8080/notes/'
curl --location --request GET 'http://localhost:8080/notes/1'