Our web page verification when the phone, to send SMS verification, Huaian whipped egg Short message verification of the source code verification process is how. Here's a look at this.
"Huaian whipped Egg Web Edition-source Dock file Summary"
first, upstream interface:
1. Definition: Receive the data provided by the home (SP), write to our database The disease returns the value according to the demand of the home.
2. Name: Receive.aspx (or get.aspx)
3. Operation table: Mo table
4. Parameters: Use request.querystring[] method to remove the parameters passed by the home.
5. Note: To take out the parameters to verify, such as: The verification of mobile phone number, illegal characters and the filtering of key words, sometimes you need to pass over the data encoding on the conversion.
6. Return value: Returns the value in the specified manner according to the home's interface documentation requirements.
Second, downlink interface:
1. Definition: We receive the data submitted by the next home, to write the library, and then to our home SP forwarding, the process requires us to specify the interface documentation, according to our needs to provide our relevant parameter data, processing.
2. Name: Sendmessage.aspx (or api.aspx)
3. Operation Table: MT table
4. Parameters: According to the requirements of the project we specify the relevant parameters, provided to the use of the
5. Note: When developing the downstream interface, be sure to do the downstream interface development documentation follow the development documentation for step-by-step development, and never take it for granted without documentation. Otherwise the developed interface is largely incompatible with the requirements.
6. Return value: The return value is our development time according to the pre-written downstream interface development documentation for processing.
These are some small summaries of my infinite interfaces. Personal Understanding only ... If there are errors, please leave a message ~
Reference: http://blog.csdn.net/i_like_cpp/article/details/42342515