Who knows what the WeChat keyword recovery principle is

Source: Internet
Author: User
Who knows what the keyword recovery principle is
I knew I'd get the XML and echo the XML back, but what's the requirement? I can't apply it flexibly.


Reply to discussion (solution)

The server is the equivalent of a forwarding server, the terminal (mobile phone, pad, etc.) initiates the request to the server, the server, and then forwards the request to the custom service (this is our specific implementation).
The service finishes, then evaporates to the server, and the server responds back to the terminal.

In fact, what we need to do is respond to HTTP requests.

The specific request content, we parse according to the specific XML format, after processing completes, also must follow the specific XML format to return.

We just need a simple implementation of HttpHandler.

Of course, the platform can also achieve more complex business, such as can be used as an embedded browser, we can through the link, open the HTM interface, and then implement their own logic.

After you take over, the user post information will be transferred to your server in XML format, what you need to do is to receive the post data and parse, using MySQL or regular matching corresponding keywords according to the API interface rules output the corresponding XML file.

The back of the table with the return of the, and then self-set?? Event. For example, back to 1, after the next stage, the sentence is 1,?? With API interface,?? Some features.
2. If the back desk, there is a set of 2 of the rationale, do not operate.

You have received the message with a regular expression matching, if you can match, reply to the corresponding content is not OK, milk this simple

  • 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.