/my_postapi

django邮件发送API

Primary LanguagePython

my_postapi

API使用方法

1、linux下curl:

curl http://192.168.1.193:8000/send/email -X POST --header '{'content-type': 'application/json'}' --data '{"data": [{"subject": "testsubject"}, {"context": "testcontext"}, {"tomail": "xxx@qq.com"}]}'

2、Python: