curl -i -X POST \
-H "Content-Type:application/json" \
-d \
'{
"username" : "your_username",
"password" : "your_password"
}' \
'https://secret-vault.herokuapp.com/signup'
curl -i -X POST \
-H "Content-Type:application/json" \
-d \
'{
"username" : "your_username",
"password" : "your_password"
}' \
'https://secret-vault.herokuapp.com/login'
curl --request POST \
--url 'https://secret-vault.herokuapp.com/add_bucket' \
--header 'Content-Type: application/json' \
--header 'token: {your_token}' \
--data \
'{
"bucket_name" : "your_bucket_name",
"username" : "your_username"
}'
curl --request GET \
--url 'https://secret-vault.herokuapp.com/get_buckets/{your_username}' \
--header 'token: {your_token}'
curl --request POST \
--url 'https://secret-vault.herokuapp.com/add_item' \
--header 'Content-Type: application/json' \
--header 'token: {your_token}' \
--data '{
"username" : "your_username",
"bucket_name" : "your_bucket_name",
"name" : "item_name",
"value" : "item_value"
}'
curl --request GET \
--url 'https://secret-vault.herokuapp.com/get_items/{username}/{bucket_name}' \
--header 'token: {your_token}'