Huai ' An whipped egg program source code of short message verification source code

Source: Internet
Author: User
Tags documentation


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


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.