WeChat public account development debugging tool released

Source: Internet
Author: User

Recently, I am working on public account development. However, when an error occurs during mobile phone debugging, I did not reply to anything. The efficiency of debugging by logging is too low, as a result, this little tool was born.

Function introduction:

When developing public platforms, most of them use mobile phones to send messages, and then use logs to record some debugging information, because once our WEB programs have errors or times out, it cannot be seen on the mobile phone end. You can use this tool to solve this problem. Even if it is time-out (the server only gives 5 seconds), you don't have to worry about it. Of course it is best not to time out.

1.Request URLEnter the URL (for example) in the development mode of the public platform in the request URL. This tool does not contain a signature algorithm, so you do not need to enter a Token, however, for security purposes, we need to verify the signature in WEB programs. Therefore, you must add parameters that only you know, such as debug = true, so that WEB programs do not perform the verification, in this way, you can skip the verification part for debugging. A maximum of three request URLs can be saved. Each record the parameters submitted last time to facilitate debugging between multiple servers.

2.FromUserNameWhen a user sends a message to a public account, the server sends the unique ID used to identify the user each time, and also sends the unique ID of the public account,Submit buttonThe text box above shows the content submitted by the simulation server to our WEB server. You can see FromUserName and ToUserName.

3.ToUserNameSimilar to FromUserName above.

4.Text/Voice/image/location/follow/cancel follow/menuThese options simulate the type of message sent by the user. You must enter the actual message content.

5.Submit buttonNeedless to say

6.Check box for automatic disconnection in 5 secondsSimulate the server's timing mechanism. Generally, requests will not exceed 5 seconds, but sometimes there will be more than 5 seconds of requests, and I will see them myself. Some specific operations will happen, therefore, this is useful.

7.Response contentI don't need to explain this.

8.Clear response content buttonYou don't need to explain this.

:
Local download
I

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.