Solved Help API SMS on QT.
-
Can someone give me an example of using SMS API on QT? Thank you :).
-
@Rika Which SMS API do you have in mind?
-
@aha_1980 said in Help API SMS on QT.:
Which SMS API do you have in mind?
Hello. I want used API in there: https://esms.vn/sms-api
-
@aha_1980 Or do you have any examples related to SMS API on QT, can you send it to me? Thank you :D
-
@Rika said in Help API SMS on QT.:
examples related to SMS API on QT
There is no SMS API in Qt.
Hence your question is not related to Qt. You should check the documentation of that library.
You can also use native API for that (Android/iOS), you can use these API in Qt. -
@jsulm I'm a student, sorry for my expression, I mean, I want to send sms from application using an sms provider over internet . They allow me to send sms by putting this string in a browser: http://rest.esms.vn/MainService.svc/json/SendMultipleMessage_V4_get?Phone=09xxxx&Content=DemoText&ApiKey=xxxx&SecretKey=xxxx&SmsType={SmsType}&Sandbox={Sandbox}&RequestId={RequestId}&SendDate={SendDate}
And I have'n experienced it,so i want to a visual example. -
@Rika Have a look at QNetworkAccessmanager, which allows to do such tasks.
-
This post is deleted! -
@aha_1980 using this api sms is very new to me, i dont have experience about it and i need some examples of it or something similar.
-
Here is an example for downloading files: http://doc.qt.io/qt-5/qtnetwork-download-example.html
I'm afraid there won't be an example for your exact task, but that's what programming is all about, isn't it?!
-
That's right, it's all about programming.
Thanks very much for your help. :D