Problems and Solutions of WeChat applets in network requests

Source: Internet
Author: User
Problems and Solutions for web requests of applets 1. the public account must be configured in the background 2. the domain name must be filed (and it takes 24 hours for the domain name to take effect after the record filing is approved)
3. if you want to have https, you can buy one from wotong or apply for one from a foreign website for free.
4. complete the ssl configuration correctly, and attach two detection addresses.
(1) https://www.myssl.cn/tools/check-server-cert.html
(2) https://www.qcloud.com/product/ssl.html

6. official prompt
Bug & Tip

Bug: the developer tool [size = 0.85em] 0.10.102800, and the content-type setting of the header is incorrect;

Tip: The https tls version of the client is 1.2, but some Android models do not yet support TLS 1.2. therefore, make sure that the TLS version of the HTTPS server supports version 1.2 and earlier;

Tip: note that the value of method must be in uppercase (for example, GET );

Tip: No port exists in the url;

For more questions about network requests and solutions for small programs, please pay attention to PHP!

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.