I am trying the singleSendMail API from Alibaba Cloud's DirectMail, the request looks something like this
https://xx.xxxx.com/?Action=SingleSendMail
&AccountName=test@example.com
&ReplyToAddress=true
&AddressType=1
&ToAddress=test1@example.com
&Subject=Subject
&HtmlBody=<body><h2>Test</h2></body>
I get a 400 error MissingParameter
The Alibaba Cloud REST API has two sets of parameters plus the signature that you must include in your request.
Using Python as an example, you need to specify the public parameters as follows:
The add the request parameters as follows. You will need to modify with your account information:
Then you will need to sign the request.
I wrote an article about Direct Mail and generating signatures with complete working source code in Python.
DirectMail REST API