Created a new thread with the product spelt correctly so I can find it next time...

All about sending SMS from Dataflex, but I think my issue is HTTP ignorance. Forgive me, WFH is distracting... especially WFH when I'm moving homes...

I send
Code:
GET http://platform.clickatell.com/messages/http/ HTTP/1.1
Accept: application/json
Content-Type: application/json, application/json
api-key: qofdET44RhCfmvP6WEtdUg==
User-Agent: DataFlex
Host: platform.clickatell.com
Content-Length: 52


{"to":"13459164339","message":"Your watch is ready"}
and get
Code:
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
</body>
</html>
then a CONNECT to platform.clickatell.com:443 HTTP/1.0 happens automagically

followed by a 404.

I have peTransferflags set to IfIgnoreRedirectToHttps, as the code derived from Clickatell's CURL example fails with
Code:
<html>
<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<center>The plain HTTP request was sent to HTTPS port</center>
</body>
</html>
baffled.