A simple REST API with CRUD operations using V lang and vWeb
Author: Navule Pavan Kumar Rao ๐คต
Code (branch) ๐ป | Video ๐บ | Article ๐ |
---|---|---|
main | How to deploy V lang REST API on Azure | How to deploy V lang REST API on Azure โ TutLinks |
vweb-cloud-run | Deploy V lang CRUD REST API with PostgreSQL on GCP Cloud Run |
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'