我需要使用 HTTP Post 来发送一个字符串数组,像这样......
Dim wc As New Net.WebClient
Dim NC As New Specialized.NameValueCollection
NC.Add("api_user", "some user")
NC.Add("api_key", "some key")
NC.Add("from", "me@world.com")
NC.Add("subject", "testing...")
NC.Add("body", "testing...again")
NC.Add("to", string_array)
我尝试了几种方法,但我不断收到 - 远程服务器返回错误:(400)错误请求。
我通过他们的 WebAPI 发布到 SendGrid