/API-test

회원 인증을 위한 문자 전송 api 개발 테스트

Primary LanguagePython

send SMS with naver cloud

< official site >

How to run?

  1. set you secret key
{
	"SECRET_KEY": "this line is for django secrets key",
	"SMS_ACCESS_KEY_ID": "your access key id.",
	"SMS_SERVICE_SECRET": "your access key secret password",
	"SMS_SEND_PHONE_NUMBER": "what number will you send message with",
	"SMS_PROJECT_ID": "you project id in naver console",
	"SMS_SEND_URI": "https://sens.apigw.ntruss.com/sms/v2/services/"+ here is you project id+"/messages",
	"SMS_SIGNATURE_URI": "/sms/v2/services/"+here is your project id+"/messages"
}
  1. run this code
python manage.py makemigrations
python manage.py migrate

python manage.py runserver