Our web application has SMS (short message service) requirement. Our customer asks to send short message by 三竹簡訊.
Based on its documentation, it provide 8 ways to send short message, and we choose approach 4th.
Here has an diagram to describe 三竹資訊's architecture:
We will use Http Get method to send user name, password, phone number and short message to SmGateway:
And it will return response to your source code:
The status code and its description are as follows:
Here has the sample code.
This enumeration contains the status code and its description:
This utility class is used to send short message: