Twilio or Plivo SMS using Delphi
问题 I am trying to figure out how to use Delphi 10 Seattle and Indy to send a POST request to either Plivo or Twilio for sending SMS messages. When I use this code for Twilio efforts, I get an Unauthorized message in return (note that I have redacted my user name and Auth code): procedure TSendTextForm.TwilioSendSms(FromNumber, ToNumber, Sms: string; Var Response: TStrings); var apiurl, apiversion, accountsid, authtoken, url: string; aParams, aResponse: TStringStream; mHTTP : TidHttp; begin mHTTP