Django receives Alibaba Cloud verification code

        As the mobile phone SMS verification code needs to be accessed in the recent project development process, the platform is Alibaba Cloud. I took the time to write this tutorial. I hope it can help Xiaobai. I have read the documents provided by Alibaba Cloud. I am here. Write it again, and strive to be very detailed.

Ready to work:

  1. First, buy the SMS service in Alibaba Cloud and remember to create an AccessKey. After the creation is successful, an ID and secret key will be given, remember to save it, and you will use it later
  2. To apply for signatures and templates in the console SMS service, it is best to apply in advance, because the Ali platform needs to be approved, and it will be OK within about two hours.
  3. Execute the following command to install the Alibaba Cloud SDK core library:
    pip install aliyun-python-sdk-core

 

To be continued 

Guess you like

Origin blog.csdn.net/zhang_8626/article/details/90676089