The above code is working if I give proper credentials, But with Kodular App I am unable to send the OTP SMS.
After some Googling i found the following answer
505 – HTTP Version Not Supported
The server refuses to support the HTTP protocol that the client computer specifies. This error occurs if the client computer does not correctly specify the protocol (for example, if it specifies an invalid version number).This error should not occur if you have a current installation of cPanel & WHM.
&message= Your Message
&senderId= Your Sender ID Sender ID Must Be 6 Alphabates (ex. ABCDEF) It’s Also Work If You set Your App Name If Your App Name Have Only 6 Alphabates