Open nhymxu opened 2 years ago
Simple implement add api_key to body and compare with pre-defined key inside program.
api_key
If match => save to DB If not match => return "not have permission" message
Can save API key to .env file using dotenv = "0.15.0"
.env
dotenv = "0.15.0"
Simple implement add
api_key
to body and compare with pre-defined key inside program.If match => save to DB If not match => return "not have permission" message